1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/version-management/mr/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2017-06-13 15:55:50 +01:00
{ stdenv, fetchgit, perl }:
stdenv.mkDerivation rec {
2018-09-19 13:35:47 +01:00
version = "1.20180726";
2014-11-22 14:30:30 +00:00
name = "mr-${version}";
2017-06-13 15:55:50 +01:00
src = fetchgit {
url = "git://myrepos.branchable.com/";
rev = "refs/tags/" + version;
sha256 = "15i9bs2i25l7ibv530ghy8280kklcgm5kr6j86s7iwcqqckd0czp";
};
2018-08-08 19:23:47 +01:00
postPatch = ''
patchShebangs .
'';
2014-11-22 14:30:30 +00:00
buildInputs = [ perl ];
2014-11-22 14:30:30 +00:00
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.
'';
2014-11-22 14:30:30 +00:00
homepage = http://myrepos.branchable.com/;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
2014-11-22 14:30:30 +00:00
maintainers = with stdenv.lib.maintainers; [ antono henrytill ];
};
}