Merge pull request #212793 from fabaff/last-fix

last: 1422 -> 1445
This commit is contained in:
Fabian Affolter 2023-01-26 20:06:44 +01:00 committed by GitHub
commit bf0a5df606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,35 @@
{ lib, stdenv, fetchFromGitLab, unzip, zlib, python3, parallel }:
{ lib
, stdenv
, fetchFromGitLab
, unzip
, zlib
, python3
, parallel
}:
stdenv.mkDerivation rec {
pname = "last";
version = "1422";
version = "1445";
src = fetchFromGitLab {
owner = "mcfrith";
repo = "last";
rev = version;
sha256 = "sha256-3OhttOd6qgO6d+sbVkZj8i/K6bJTvlMyfa3E4mIpt24=";
rev = "refs/tags/${version}";
hash = "sha256-E3D9KmCIVcwXblwJ0wePk0wKoXwKA2UsSGqfMmRsw2A=";
};
nativeBuildInputs = [ unzip ];
buildInputs = [ zlib python3 ];
nativeBuildInputs = [
unzip
];
makeFlags = [ "prefix=${placeholder "out"}" ];
buildInputs = [
zlib
python3
];
makeFlags = [
"prefix=${placeholder "out"}"
];
postFixup = ''
for f in $out/bin/parallel-* ; do