diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-12-29 21:29:34 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-12-29 21:29:34 +0000 |
commit | 1acfa8ff79fd8895ebc7ca9954830ace0577fff2 (patch) | |
tree | 25f168400b9192ca94a7bdb0bb19ce11f03db509 /pkgs/development/ocaml-modules/macaddr/default.nix | |
parent | 82bd3b0cbfb0af1555ed5b6b6f4edf2b6b17a144 (diff) | |
parent | be90b35b9efbd7baaa80f367ffc41609531a8fe2 (diff) | |
download | nixpkgs-1acfa8ff79fd8895ebc7ca9954830ace0577fff2.tar nixpkgs-1acfa8ff79fd8895ebc7ca9954830ace0577fff2.tar.gz nixpkgs-1acfa8ff79fd8895ebc7ca9954830ace0577fff2.tar.bz2 nixpkgs-1acfa8ff79fd8895ebc7ca9954830ace0577fff2.tar.lz nixpkgs-1acfa8ff79fd8895ebc7ca9954830ace0577fff2.tar.xz nixpkgs-1acfa8ff79fd8895ebc7ca9954830ace0577fff2.tar.zst nixpkgs-1acfa8ff79fd8895ebc7ca9954830ace0577fff2.zip |
Merge remote-tracking branch 'nixpkgs/master' into spectrum
Diffstat (limited to 'pkgs/development/ocaml-modules/macaddr/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/macaddr/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/macaddr/default.nix b/pkgs/development/ocaml-modules/macaddr/default.nix new file mode 100644 index 00000000000..7061fdf5d5b --- /dev/null +++ b/pkgs/development/ocaml-modules/macaddr/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchurl, buildDunePackage +, ppx_sexp_conv +}: + +buildDunePackage rec { + pname = "macaddr"; + version = "3.1.0"; + + minimumOCamlVersion = "4.04"; + + src = fetchurl { + url = "https://github.com/mirage/ocaml-ipaddr/archive/v${version}.tar.gz"; + sha256 = "1hi3v5dzg6h4qb268ch3h6v61gsc8bv21ajhb35z37v5nsdmyzbh"; + }; + + propagatedBuildInputs = [ ppx_sexp_conv ]; + + doCheck = false; # ipaddr and macaddr tests are together, which requires mutual dependency + + meta = with lib; { + homepage = https://github.com/mirage/ocaml-ipaddr; + description = "A library for manipulation of MAC address representations"; + license = licenses.isc; + maintainers = [ maintainers.alexfmpe ]; + }; +} |