mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-26 23:27:29 +03:00
cvs2nix: 2.0.1 -> 2.4.0
This commit is contained in:
parent
e16d3d0d8a
commit
47f17939c2
@ -1,11 +1,11 @@
|
|||||||
{stdenv, fetchurl, python, makeWrapper}:
|
{stdenv, lib, fetchurl, python, cvs, makeWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "cvs2svn-2.0.1";
|
name = "cvs2svn-2.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://cvs2svn.tigris.org/files/documents/1462/39919/cvs2svn-2.0.1.tar.gz;
|
url = "http://cvs2svn.tigris.org/files/documents/1462/49237/${name}.tar.gz";
|
||||||
sha256 = "1pgbyxzgn22lnw3h5c2nd8z46pkk863jg3fgh9pqa1jihsx1cg1j";
|
sha256 = "05piyrcp81a1jgjm66xhq7h1sscx42ccjqaw30h40dxlwz1pyrx6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [python makeWrapper];
|
buildInputs = [python makeWrapper];
|
||||||
@ -13,8 +13,11 @@ stdenv.mkDerivation {
|
|||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
python ./setup.py install --prefix=$out
|
python ./setup.py install --prefix=$out
|
||||||
wrapProgram $out/bin/cvs2svn \
|
for i in bzr svn git; do
|
||||||
--set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH"
|
wrapProgram $out/bin/cvs2$i \
|
||||||
|
--prefix PATH : "${lib.makeSearchPath "bin" [ cvs ]}" \
|
||||||
|
--set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
/* !!! maybe we should absolutise the program names in
|
/* !!! maybe we should absolutise the program names in
|
||||||
@ -23,5 +26,6 @@ stdenv.mkDerivation {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "A tool to convert CVS repositories to Subversion repositories";
|
description = "A tool to convert CVS repositories to Subversion repositories";
|
||||||
homepage = http://cvs2svn.tigris.org/;
|
homepage = http://cvs2svn.tigris.org/;
|
||||||
|
maintainers = [ lib.maintainers.makefu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user