1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/misc/linuxquota/default.nix
2020-04-10 17:54:53 +01:00

25 lines
716 B
Nix

{ stdenv, fetchurl, e2fsprogs, openldap, pkgconfig }:
stdenv.mkDerivation rec {
version = "4.05";
pname = "quota";
src = fetchurl {
url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz";
sha256 = "1fbsrxhhf1ls7i025db7p66yzjr0bqa2c63cni217v8l21fmnfzg";
};
outputs = [ "out" "dev" "doc" "man" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ e2fsprogs openldap ];
meta = with stdenv.lib; {
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 ];
};
}