-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24107 from calvertvl/update-src
Update src
- Loading branch information
Showing
2 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,6 +82,7 @@ | |
bzizou = "Bruno Bzeznik <[email protected]>"; | ||
c0dehero = "CodeHero <[email protected]>"; | ||
calrama = "Moritz Maxeiner <[email protected]>"; | ||
calvertvl = "Victor Calvert <[email protected]>"; | ||
campadrenalin = "Philip Horger <[email protected]>"; | ||
canndrew = "Andrew Cann <[email protected]>"; | ||
carlsverre = "Carl Sverre <[email protected]>"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,32 @@ | ||
{ 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 . | ||
''; | ||
|
||
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 ]; | ||
}; | ||
} |