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
46 lines
878 B
Nix
46 lines
878 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
e2fsprogs,
|
|
openldap,
|
|
pkg-config,
|
|
binlore,
|
|
linuxquota,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.10";
|
|
pname = "quota";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz";
|
|
sha256 = "sha256-oEoMr8opwVvotqxmDgYYi8y4AsGe/i58Ge1/PWZ+z14=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
"doc"
|
|
"man"
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
e2fsprogs
|
|
openldap
|
|
];
|
|
|
|
passthru.binlore.out = binlore.synthesize linuxquota ''
|
|
execer cannot bin/quota
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tools to manage kernel-level quotas in Linux";
|
|
homepage = "https://sourceforge.net/projects/linuxquota/";
|
|
license = licenses.gpl2Plus; # With some files being BSD as an exception
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.dezgeg ];
|
|
};
|
|
}
|