nixpkgs/pkgs/applications/version-management/mr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.2 KiB
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchgit, perl }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "mr";
version = "1.20180726";
2017-06-13 14:55:50 +00:00
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";
};
2018-08-08 18:23:47 +00:00
postPatch = ''
patchShebangs .
'';
2014-11-22 14:30:30 +00:00
buildInputs = [ perl ];
makeFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Multiple Repository management tool";
2014-11-22 14:30:30 +00:00
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/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ antono henrytill ];
};
}