Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 29 lines 712 B view raw
1{ stdenv 2, lib 3, fetchgit 4}: 5stdenv.mkDerivation rec { 6 pname = "libnut"; 7 version = "unstable-2020-11-06"; 8 9 src = fetchgit { 10 url = "https://git.ffmpeg.org/nut.git"; 11 rev = "12f6a7af3e0f34fd957cf078b66f072d3dc695b3"; 12 sha256 = "1wgl2mb9482c1j3yac0v2ilfjs7gb9mhw9kjnrmlj9kp0whm4l1j"; 13 }; 14 15 sourceRoot = "${src.name}/src/trunk"; 16 makeFlags = ["prefix=$(out)"]; 17 installTargets = [ 18 "install-libnut" 19 "install-nututils" 20 ]; 21 22 meta = with lib; { 23 description = "A library to read/write the NUT video container format"; 24 homepage = "https://git.ffmpeg.org/gitweb/nut.git"; 25 license = licenses.mit; 26 maintainers = with maintainers; [quag]; 27 platforms = platforms.linux; 28 }; 29}