Merge pull request #278610 from atorres1985-contrib/src

src: 1.32 -> 1.33
This commit is contained in:
Nick Cao 2024-01-05 11:52:09 -05:00 committed by GitHub
commit 4363ab24f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 20 deletions

View File

@ -1,36 +1,44 @@
{ lib
, stdenv
, fetchurl
, python
, rcs
, asciidoc
, fetchFromGitLab
, git
, makeWrapper
, python3
, rcs
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "src";
version = "1.32";
version = "1.33";
src = fetchurl {
url = "http://www.catb.org/~esr/src/${pname}-${version}.tar.gz";
sha256 = "sha256-CSA1CmPvXuOl9PzX97/soGRq2HHBcYuA5PepOVMaMWU=";
src = fetchFromGitLab {
owner = "esr";
repo = "src";
rev = finalAttrs.version;
hash = "sha256-xyKJcM9dWsFGhe+ISR6S1f67jkYlS9heZe0TFXY8DgQ=";
};
nativeBuildInputs = [
asciidoc
makeWrapper
];
buildInputs = [
python
rcs
git
python3
rcs
];
strictDeps = true;
preConfigure = ''
patchShebangs .
'';
makeFlags = [ "prefix=${placeholder "out"}" ];
makeFlags = [
"prefix=${placeholder "out"}"
];
postInstall = ''
wrapProgram $out/bin/src \
@ -48,10 +56,10 @@ stdenv.mkDerivation rec {
will seem familiar to Subversion/Git/hg users, and no binary blobs
anywhere.
'';
changelog = "https://gitlab.com/esr/src/raw/${version}/NEWS";
changelog = "https://gitlab.com/esr/src/-/raw/${finalAttrs.version}/NEWS.adoc";
license = licenses.bsd2;
maintainers = with maintainers; [ calvertvl AndersonTorres ];
inherit (python.meta) platforms;
mainProgram = "src";
maintainers = with maintainers; [ AndersonTorres ];
inherit (python3.meta) platforms;
};
}
})

View File

@ -35471,11 +35471,6 @@ with pkgs;
ltunify = callPackage ../tools/misc/ltunify { };
src = callPackage ../applications/version-management/src {
git = gitMinimal;
python = python3;
};
ssrc = callPackage ../applications/audio/ssrc { };
stalonetray = callPackage ../applications/window-managers/stalonetray { };