src: switch to Python3
According to most recent changelog, src now explicitly requires Python3.
This commit is contained in:
parent
195ac60c4e
commit
1d49580806
2 changed files with 20 additions and 5 deletions
|
@ -1,4 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, python2, rcs, git, makeWrapper }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, python
|
||||
, rcs
|
||||
, git
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "src";
|
||||
|
@ -9,8 +16,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-Tc+qBhLtC9u23BrqVniAprAV8YhXELvbMn+XxN5BQkE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ python2 rcs git ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
python
|
||||
rcs
|
||||
git
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
|
@ -24,6 +38,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.catb.org/esr/src/";
|
||||
description = "Simple single-file revision control";
|
||||
longDescription = ''
|
||||
SRC, acronym of Simple Revision Control, is RCS/SCCS reloaded with a
|
||||
|
@ -33,10 +48,9 @@ stdenv.mkDerivation rec {
|
|||
will seem familiar to Subversion/Git/hg users, and no binary blobs
|
||||
anywhere.
|
||||
'';
|
||||
homepage = "http://www.catb.org/esr/src/";
|
||||
changelog = "https://gitlab.com/esr/src/raw/${version}/NEWS";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ calvertvl AndersonTorres ];
|
||||
inherit (python.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28734,6 +28734,7 @@ with pkgs;
|
|||
|
||||
src = callPackage ../applications/version-management/src {
|
||||
git = gitMinimal;
|
||||
python = python3;
|
||||
};
|
||||
|
||||
sslyze = with python3Packages; toPythonApplication sslyze;
|
||||
|
|
Loading…
Reference in a new issue