diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/version-management/mr/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/version-management/mr/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/version-management/mr/default.nix b/nixpkgs/pkgs/applications/version-management/mr/default.nix new file mode 100644 index 000000000000..4ff6c6733e6f --- /dev/null +++ b/nixpkgs/pkgs/applications/version-management/mr/default.nix @@ -0,0 +1,38 @@ +{ lib, stdenv, fetchgit, perl }: + +stdenv.mkDerivation { + pname = "mr"; + version = "1.20180726"; + + src = fetchgit { + url = "git://myrepos.branchable.com/"; + # the repository moved its tags at least once + # when updating please continue using the revision hash here + rev = "0ad7a17bb455de1fec3b2375c7aac72ab2a22ac4"; + sha256 = "0jphw61plm8cgklja6hs639xhdvxgvjwbr6jpvjwpp7hc5gmhms5"; + }; + + postPatch = '' + patchShebangs . + ''; + + buildInputs = [ perl ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = { + description = "Multiple Repository management tool"; + 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://myrepos.branchable.com/"; + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ antono ]; + }; +} |