Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
668 B
Nix
33 lines
668 B
Nix
{
|
|
lib,
|
|
multiStdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
multiStdenv.mkDerivation rec {
|
|
pname = "statifier";
|
|
version = "1.7.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/statifier/statifier-${version}.tar.gz";
|
|
sha256 = "03lzkla6knjhh186b43cac410x2fmhi28pkmzb3d211n3zp5i9y8";
|
|
};
|
|
|
|
phaseNames = [
|
|
"patchPhase"
|
|
"installPhase"
|
|
];
|
|
|
|
postPatch = ''
|
|
sed -e s@/usr/@"$out/"@g -i */Makefile src/statifier
|
|
sed -e s@/bin/bash@"${multiStdenv.shell}"@g -i src/*.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tool for creating static Linux binaries";
|
|
mainProgram = "statifier";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2Only;
|
|
};
|
|
}
|