2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, e2fsprogs, openldap, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "4.06";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "quota";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz";
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "sha256-Lz4DA583jU8Nl6zbSdr1gdyq1k0uHd8SlJX9V5+9Jo0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "doc" "man" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ e2fsprogs openldap ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tools to manage kernel-level quotas in Linux";
|
|
|
|
homepage = "https://sourceforge.net/projects/linuxquota/";
|
|
|
|
license = licenses.gpl2; # With some files being BSD as an exception
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
};
|
|
|
|
}
|