Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 1.1 kB view raw
1{ 2 fetchgit, 3}: 4 5let 6 nv-codec-headers-template = 7 { 8 version, 9 hash, 10 }: 11 { 12 pname = "nv-codec-headers"; 13 inherit version; 14 src = fetchgit { 15 url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git"; 16 rev = "n${version}"; 17 inherit hash; 18 }; 19 }; 20in 21{ 22 nv-codec-headers-8 = nv-codec-headers-template { 23 version = "8.2.15.2"; 24 hash = "sha256-TKYT8vXqnUpq+M0grDeOR37n/ffqSWDYTrXIbl++BG4="; 25 }; 26 nv-codec-headers-9 = nv-codec-headers-template { 27 version = "9.1.23.1"; 28 hash = "sha256-kF5tv8Nh6I9x3hvSAdKLakeBVEcIiXFY6o6bD+tY2/U="; 29 }; 30 nv-codec-headers-10 = nv-codec-headers-template { 31 version = "10.0.26.2"; 32 hash = "sha256-BfW+fmPp8U22+HK0ZZY6fKUjqigWvOBi6DmW7SSnslg="; 33 }; 34 nv-codec-headers-11 = nv-codec-headers-template { 35 version = "11.1.5.2"; 36 hash = "sha256-KzaqwpzISHB7tSTruynEOJmSlJnAFK2h7/cRI/zkNPk="; 37 }; 38 nv-codec-headers-12 = nv-codec-headers-template { 39 version = "12.1.14.0"; 40 hash = "sha256-WJYuFmMGSW+B32LwE7oXv/IeTln6TNEeXSkquHh85Go="; 41 }; 42}