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