Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 gettext, 6 attr, 7}: 8 9# Note: this package is used for bootstrapping fetchurl, and thus 10# cannot use fetchpatch! All mutable patches (generated by GitHub or 11# cgit) that are needed here should be included directly in Nixpkgs as 12# files. 13 14stdenv.mkDerivation rec { 15 pname = "acl"; 16 version = "2.3.2"; 17 18 src = fetchurl { 19 url = "mirror://savannah/acl/acl-${version}.tar.gz"; 20 hash = "sha256-XyvbrWKXB6p9hcYj+ZSqih0t7FWnPeUgW6wL9gWKL3w="; 21 }; 22 23 outputs = [ 24 "bin" 25 "dev" 26 "out" 27 "man" 28 "doc" 29 ]; 30 31 nativeBuildInputs = [ gettext ]; 32 buildInputs = [ attr ]; 33 34 postPatch = '' 35 patchShebangs . 36 ''; 37 38 meta = with lib; { 39 inherit (attr.meta) platforms badPlatforms; 40 homepage = "https://savannah.nongnu.org/projects/acl"; 41 description = "Library and tools for manipulating access control lists"; 42 license = licenses.gpl2Plus; 43 }; 44}