nixpkgs-suyu/pkgs/tools/misc/linuxquota/default.nix

25 lines
716 B
Nix
Raw Normal View History

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 {
version = "4.05";
pname = "quota";
2017-07-25 13:24:25 +02:00
src = fetchurl {
url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz";
sha256 = "1fbsrxhhf1ls7i025db7p66yzjr0bqa2c63cni217v8l21fmnfzg";
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 ];
meta = with lib; {
2017-07-25 13:24:25 +02:00
description = "Tools to manage kernel-level quotas in Linux";
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 ];
};
}