From a46ac13f5b14825e89c6f21290aeb8ffb2d55c1a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 Sep 2021 11:30:40 +0200 Subject: [PATCH] python3Packages.ueagle: init at 0.0.2 --- .../python-modules/ueagle/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/ueagle/default.nix diff --git a/pkgs/development/python-modules/ueagle/default.nix b/pkgs/development/python-modules/ueagle/default.nix new file mode 100644 index 000000000000..fc61123377aa --- /dev/null +++ b/pkgs/development/python-modules/ueagle/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, requests +}: + +buildPythonPackage rec { + pname = "ueagle"; + version = "0.0.2"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "jcalbert"; + repo = "uEagle"; + rev = version; + sha256 = "1hxwk5alalvmhc31y917dxsnbiwq1xci2krma3235581319xr3w7"; + }; + + propagatedBuildInputs = [ + requests + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "uEagle" ]; + + meta = with lib; { + description = "Python library Rainforest EAGLE devices"; + homepage = "https://github.com/jcalbert/uEagle"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 40d6e4832760..37f70e8a889f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9078,6 +9078,8 @@ in { ufoprocessor = callPackage ../development/python-modules/ufoprocessor { }; + ueagle = callPackage ../development/python-modules/ueagle { }; + ujson = callPackage ../development/python-modules/ujson { }; ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };