From 8cdec03785f0e7eb3512cba0e7a60d41c1026a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 23 Jun 2021 16:29:31 +0200 Subject: [PATCH] python3Packages.hlk-sw16: init at 0.0.9 --- .../python-modules/hlk-sw16/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/hlk-sw16/default.nix diff --git a/pkgs/development/python-modules/hlk-sw16/default.nix b/pkgs/development/python-modules/hlk-sw16/default.nix new file mode 100644 index 000000000000..d013664ad25f --- /dev/null +++ b/pkgs/development/python-modules/hlk-sw16/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +}: + +buildPythonPackage rec { + pname = "hlk-sw16"; + version = "0.0.9"; + + src = fetchFromGitHub { + owner = "jameshilliard"; + repo = "hlk-sw16"; + rev = version; + sha256 = "010s85nr6xn89i8yvdagg72a97dh1v2pyfqa33v76p9p8xbgh8dz"; + }; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ "hlk_sw16" ]; + + meta = with lib; { + description = "Python client for HLK-SW16"; + homepage = "https://github.com/jameshilliard/hlk-sw16"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index af320bed9da5..6e09d9482074 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3252,6 +3252,8 @@ in { hkdf = callPackage ../development/python-modules/hkdf { }; + hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { }; + hmmlearn = callPackage ../development/python-modules/hmmlearn { }; hocr-tools = callPackage ../development/python-modules/hocr-tools { };