package.nix (744B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 libnbcompat, 7 }: 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "nmtree"; 11 version = "1.0.0"; 12 13 __structuredAttrs = true; 14 15 src = fetchFromGitHub { 16 owner = "archiecobbs"; 17 repo = "nmtree"; 18 tag = finalAttrs.version; 19 hash = "sha256-0NlrWnSi0Eyz9WlTX1OpU3dHpgZMOF0rtf9cY5mLDkc="; 20 }; 21 22 nativeBuildInputs = [ autoreconfHook ]; 23 24 buildInputs = [ libnbcompat ]; 25 26 env.NIX_CFLAGS_COMPILE = "-Wno-format-security"; 27 28 meta = { 29 description = "NetBSD's mtree(8) utility"; 30 homepage = "https://github.com/archiecobbs/nmtree"; 31 license = lib.licenses.free; 32 maintainers = [ lib.maintainers.sikmir ]; 33 platforms = lib.platforms.linux; 34 skip.ci = true; 35 }; 36 })
