default.nix (620B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "libnbcompat"; 10 version = "1.0.1"; 11 12 src = fetchFromGitHub { 13 owner = "archiecobbs"; 14 repo = "libnbcompat"; 15 rev = finalAttrs.version; 16 hash = "sha256-DyBLEp5dNYSQgTzdQkGfLdCtX618EbnVy5FmL75BMdU="; 17 }; 18 19 nativeBuildInputs = [ autoreconfHook ]; 20 21 meta = { 22 description = "Portable NetBSD-compatibility library"; 23 homepage = "https://github.com/archiecobbs/libnbcompat"; 24 license = lib.licenses.free; 25 maintainers = [ lib.maintainers.sikmir ]; 26 platforms = lib.platforms.unix; 27 }; 28 })