summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/version-management/mr
diff options
context:
space:
mode:
authorHenry Till <henrytill@gmail.com>2014-11-22 09:30:30 -0500
committerHenry Till <henrytill@gmail.com>2014-11-22 09:30:30 -0500
commitd4bd9779dca8ffa5be89077dbcff18a1f0d5a920 (patch)
tree5e9ff6bfeca2a6e71e36f63647da467e51c7dcab /pkgs/applications/version-management/mr
parent444bda19362e6b3d725b91dbcd2f2963f3fc23e8 (diff)
mr: update to 1.20141024
Diffstat (limited to 'pkgs/applications/version-management/mr')
-rw-r--r--pkgs/applications/version-management/mr/default.nix55
1 files changed, 15 insertions, 40 deletions
diff --git a/pkgs/applications/version-management/mr/default.nix b/pkgs/applications/version-management/mr/default.nix
index 29fafc4db74c..d52802e42f1d 100644
--- a/pkgs/applications/version-management/mr/default.nix
+++ b/pkgs/applications/version-management/mr/default.nix
@@ -1,56 +1,31 @@
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
-
- version = "1.13";
- name = "mr-" + version;
+ version = "1.20141024";
+ name = "mr-${version}";
src = fetchurl {
- url = "http://ftp.de.debian.org/debian/pool/main/m/mr/mr_${version}.tar.gz";
- sha256 = "1q3qxk8dwbv30v2xxh852wnwl1msgkvk5cgxyicpqj8kh5b96zlz";
+ url = "https://github.com/joeyh/myrepos/archive/${version}.tar.gz";
+ sha256 = "7b68183476867d15d6f111fc9678335b94824dcfa09f07c761a72d64cdf5ad4a";
};
- buildInputs = [perl];
-
- buildPhase = ''
- make build
- '';
+ buildInputs = [ perl ];
- installPhase = ''
- mkdir -pv $out/bin $out/share/man/man1 $out/share/mr
- cp -v mr $out/bin
- cp -v webcheckout $out/bin
- cp -v mr.1 $out/share/man/man1
- cp -v webcheckout.1 $out/share/man/man1
- cp -v lib/* $out/share/mr
- '';
+ makeFlags = "PREFIX=$(out)";
meta = {
description = "Multiple Repository management tool";
- longDescription = ''The mr(1) command can checkout, update, or perform other actions on a
- set of repositories as if they were one combined respository. It
- supports any combination of subversion, git, cvs, mercurial, bzr,
- darcs, cvs, vcsh, fossil and veracity repositories, and support for
- other revision control systems can easily be added. (There are
- extensions adding support for unison and git-svn.)
-
- It is extremely configurable via simple shell scripting. Some examples
- of things it can do include:
-
- - Update a repository no more frequently than once every twelve
- hours.
- - Run an arbitrary command before committing to a
- repository.
- - When updating a git repository, pull from two
- different upstreams and merge the two together.
- - Run several repository updates in parallel, greatly speeding
- up the update process.
- - Remember actions that failed due to a laptop being
- offline, so they can be retried when it comes back online.
+ longDescription = ''
+ mr is a tool to manage all your version control repos. It can
+ checkout, update, or perform other actions on a set of
+ repositories as if they were one combined repository. It
+ supports any combination of subversion, git, cvs, mercurial,
+ bzr, darcs, fossil and veracity repositories, and support for
+ other version control systems can easily be added.
'';
- homepage = http://joeyh.name/code/mr/;
+ homepage = http://myrepos.branchable.com/;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
- maintainers = [ stdenv.lib.maintainers.antono ];
+ maintainers = with stdenv.lib.maintainers; [ antono henrytill ];
};
}