mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
commit
67b32d2c89
|
@ -82,6 +82,7 @@
|
|||
bzizou = "Bruno Bzeznik <Bruno@bzizou.net>";
|
||||
c0dehero = "CodeHero <codehero@nerdpol.ch>";
|
||||
calrama = "Moritz Maxeiner <moritz@ucworks.org>";
|
||||
calvertvl = "Victor Calvert <calvertvl@gmail.com>";
|
||||
campadrenalin = "Philip Horger <campadrenalin@gmail.com>";
|
||||
canndrew = "Andrew Cann <shum@canndrew.org>";
|
||||
carlsverre = "Carl Sverre <accounts@carlsverre.com>";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ stdenv, fetchurl, python, rcs, git }:
|
||||
{ stdenv, fetchurl, python, rcs, git, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "src-1.11";
|
||||
name = "src-${version}";
|
||||
version = "1.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.catb.org/~esr/src/${name}.tar.gz";
|
||||
sha256 = "07kj0ri0s0vn8s54yvkyzaag332spxs0379r718b80y31c4mgbyl";
|
||||
sha256 = "1m6rjbizx9win3jkciyx176sfy98r5arb1g3l6aqnqam9gpr44zm";
|
||||
};
|
||||
|
||||
buildInputs = [ python rcs git ];
|
||||
buildInputs = [ python rcs git makeWrapper ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
|
@ -16,10 +17,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = {
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/src \
|
||||
--suffix PATH ":" "${rcs}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple single-file revision control";
|
||||
homepage = http://www.catb.org/~esr/src/;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ calvertvl ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue