nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 893 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 ctypes, 6 integers, 7 result, 8}: 9 10buildDunePackage rec { 11 pname = "unix-errno"; 12 version = "0.6.2"; 13 14 minimalOCamlVersion = "4.03.0"; # Specified to be 4.01.0, but it's actually 4.03 15 16 src = fetchurl { 17 url = "https://github.com/xapi-project/ocaml-unix-errno/releases/download/${version}/unix-errno-${version}.tbz"; 18 sha256 = "sha256-LWqbyGcxs6f/FcOPo3JYR3U+AL0JHeWCiGjuYhxxrWU="; 19 }; 20 21 propagatedBuildInputs = [ 22 ctypes 23 integers 24 result 25 ]; 26 27 meta = { 28 homepage = "https://github.com/xapi-project/ocaml-unix-errno"; # This is the repo used in the opam package 29 description = "Unix errno types, maps, and support for OCaml"; 30 license = with lib.licenses; [ 31 isc 32 lgpl21Only 33 ]; # All the files indicate ISC, but there's an LGPL LICENSE file 34 maintainers = with lib.maintainers; [ dandellion ]; 35 }; 36}