Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 45 lines 878 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 e2fsprogs, 6 openldap, 7 pkg-config, 8 binlore, 9 linuxquota, 10}: 11 12stdenv.mkDerivation rec { 13 version = "4.10"; 14 pname = "quota"; 15 16 src = fetchurl { 17 url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz"; 18 sha256 = "sha256-oEoMr8opwVvotqxmDgYYi8y4AsGe/i58Ge1/PWZ+z14="; 19 }; 20 21 outputs = [ 22 "out" 23 "dev" 24 "doc" 25 "man" 26 ]; 27 28 nativeBuildInputs = [ pkg-config ]; 29 buildInputs = [ 30 e2fsprogs 31 openldap 32 ]; 33 34 passthru.binlore.out = binlore.synthesize linuxquota '' 35 execer cannot bin/quota 36 ''; 37 38 meta = with lib; { 39 description = "Tools to manage kernel-level quotas in Linux"; 40 homepage = "https://sourceforge.net/projects/linuxquota/"; 41 license = licenses.gpl2Plus; # With some files being BSD as an exception 42 platforms = platforms.linux; 43 maintainers = [ maintainers.dezgeg ]; 44 }; 45}