which: add mdaniels5757 as maintainer, set updateScript, use finalAttrs (#416757)
This commit is contained in:
@@ -15892,6 +15892,12 @@
|
||||
githubId = 1377571;
|
||||
name = "Matthew S. Daiter";
|
||||
};
|
||||
mdaniels5757 = {
|
||||
email = "nix@mdaniels.me";
|
||||
github = "mdaniels5757";
|
||||
githubId = 8762511;
|
||||
name = "Michael Daniels";
|
||||
};
|
||||
mdarocha = {
|
||||
email = "marek@mdarocha.pl";
|
||||
github = "mdarocha";
|
||||
|
||||
@@ -2,25 +2,32 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
directoryListingUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "which";
|
||||
version = "2.23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/which/which-${version}.tar.gz";
|
||||
url = "mirror://gnu/which/which-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-osVYIm/E2eTOMxvS/Tw/F/lVEV0sAORHYYpO+ZeKKnM=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = directoryListingUpdater {
|
||||
inherit (finalAttrs) pname version;
|
||||
url = "https://ftp.gnu.org/gnu/which/";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/which/";
|
||||
description = "Shows the full path of (shell) commands";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ mdaniels5757 ];
|
||||
mainProgram = "which";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user