2017-06-13 16:55:50 +02:00
|
|
|
{ stdenv, fetchgit, perl }:
|
2012-07-07 17:12:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-22 15:30:30 +01:00
|
|
|
name = "mr-${version}";
|
2018-11-17 11:16:35 +01:00
|
|
|
version = "1.20180726";
|
2012-07-07 17:12:18 +02:00
|
|
|
|
2017-06-13 16:55:50 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://myrepos.branchable.com/";
|
2018-11-17 11:16:35 +01:00
|
|
|
# the repository moved its tags at least once
|
|
|
|
# when updating please continue using the revision hash here
|
|
|
|
rev = "0ad7a17bb455de1fec3b2375c7aac72ab2a22ac4";
|
|
|
|
sha256 = "0jphw61plm8cgklja6hs639xhdvxgvjwbr6jpvjwpp7hc5gmhms5";
|
2012-07-07 17:12:18 +02:00
|
|
|
};
|
|
|
|
|
2018-08-08 20:23:47 +02:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2014-11-22 15:30:30 +01:00
|
|
|
buildInputs = [ perl ];
|
2012-07-07 17:12:18 +02:00
|
|
|
|
2014-11-22 15:30:30 +01:00
|
|
|
makeFlags = "PREFIX=$(out)";
|
2014-02-06 01:53:55 +01:00
|
|
|
|
2012-07-07 17:12:18 +02:00
|
|
|
meta = {
|
|
|
|
description = "Multiple Repository management tool";
|
2014-11-22 15:30:30 +01: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.
|
2012-07-07 17:12:18 +02:00
|
|
|
'';
|
2014-11-22 15:30:30 +01:00
|
|
|
homepage = http://myrepos.branchable.com/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-07-07 17:12:18 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-11-22 15:30:30 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ antono henrytill ];
|
2012-07-07 17:12:18 +02:00
|
|
|
};
|
|
|
|
}
|