Files
nixpkgs/pkgs/by-name/me/mescc-tools/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
909 B
Nix

{
lib,
stdenv,
fetchurl,
m2libc,
which,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mescc-tools";
version = "1.7.0";
src = fetchurl {
url = "mirror://savannah/${finalAttrs.pname}/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
hash = "sha256-toL3v1dvieVdCxxjjZ3i2b6yhVciaPWPq/TtFNm2V1w=";
};
# Don't use vendored M2libc
postPatch = ''
rm -r M2libc
ln -s ${m2libc}/include/M2libc M2libc
patchShebangs --build Kaem/test.sh
'';
enableParallelBuilding = true;
doCheck = true;
checkTarget = "test";
nativeCheckInputs = [ which ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Collection of tools written for use in bootstrapping";
homepage = "https://savannah.nongnu.org/projects/mescc-tools";
license = licenses.gpl3Only;
teams = [ teams.minimal-bootstrap ];
inherit (m2libc.meta) platforms;
};
})