nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 19 lines 307 B view raw
1{ 2 lib, 3 buildDunePackage, 4 cstruct, 5}: 6 7if lib.versionOlder (cstruct.version or "1") "3" then 8 cstruct 9else 10 11 buildDunePackage { 12 pname = "cstruct-unix"; 13 inherit (cstruct) version src meta; 14 15 minimalOCamlVersion = "4.08"; 16 duneVersion = "3"; 17 18 propagatedBuildInputs = [ cstruct ]; 19 }