Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1# Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix 2{ 3 package, 4 # redistSystem :: String 5 # String is `"unsupported"` if the given architecture is unsupported. 6 redistSystem, 7}: 8{ 9 featureRelease = { 10 inherit (package) cudnnVersion minCudaVersion maxCudaVersion; 11 ${redistSystem}.outputs = { 12 bin = true; 13 lib = true; 14 static = true; 15 dev = true; 16 sample = true; 17 python = true; 18 }; 19 }; 20 redistribRelease = { 21 name = "TensorRT: a high-performance deep learning interface"; 22 inherit (package) hash filename version; 23 }; 24}