From 59cf0772c2e9fb6e65b32abdbc5da104d19e2366 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 15 Aug 2019 09:05:53 +0000 Subject: [PATCH] ocamlPackages.charInfo_width: init at 1.1.0 --- .../ocaml-modules/charInfo_width/default.nix | 19 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/ocaml-modules/charInfo_width/default.nix diff --git a/pkgs/development/ocaml-modules/charInfo_width/default.nix b/pkgs/development/ocaml-modules/charInfo_width/default.nix new file mode 100644 index 00000000000..7a78573412f --- /dev/null +++ b/pkgs/development/ocaml-modules/charInfo_width/default.nix @@ -0,0 +1,19 @@ +{ lib, fetchzip, buildDunePackage, camomile, result }: + +buildDunePackage rec { + pname = "charInfo_width"; + version = "1.1.0"; + src = fetchzip { + url = "https://bitbucket.org/zandoye/charinfo_width/get/${version}.tar.bz2"; + sha256 = "19mnq9a1yr16srqs8n6hddahr4f9d2gbpmld62pvlw1ps7nfrp9w"; + }; + + propagatedBuildInputs = [ camomile result ]; + + meta = { + homepage = "https://bitbucket.org/zandoye/charinfo_width/"; + description = "Determine column width for a character"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index f42b9fd2e33..68221511706 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -128,6 +128,8 @@ let cairo2 = callPackage ../development/ocaml-modules/cairo2 { }; + charInfo_width = callPackage ../development/ocaml-modules/charInfo_width { }; + checkseum = callPackage ../development/ocaml-modules/checkseum { }; cil = callPackage ../development/ocaml-modules/cil { };