5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
28 lines
833 B
Nix
28 lines
833 B
Nix
{ lib, stdenv, fetchurl, e2fsprogs, openldap, pkg-config, binlore, linuxquota }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.09";
|
|
pname = "quota";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz";
|
|
sha256 = "sha256-nNrKFUvJKvwxF/Dl9bMgjdX4RYOvHPBhw5uqCiuxQvk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|