about summary refs log tree commit diff
path: root/pkgs/development/python-modules/eagle100
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-04-20 22:23:44 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2022-04-20 22:24:30 +0200
commit3d707f0920755102083f1d34287f1f9d06d00d96 (patch)
treea5d385fa61834787a6e601e9f5d6b2e991ff8d98 /pkgs/development/python-modules/eagle100
parentbb59626b477b07119d3d7a39f6d88072e806880c (diff)
python3Packages.eagle100: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules/eagle100')
-rw-r--r--pkgs/development/python-modules/eagle100/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/eagle100/default.nix b/pkgs/development/python-modules/eagle100/default.nix
new file mode 100644
index 0000000000000..599181b11235e
--- /dev/null
+++ b/pkgs/development/python-modules/eagle100/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+, requests
+}:
+
+buildPythonPackage rec {
+  pname = "eagle100";
+  version = "0.1.0";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-i9ZvbjxSENJlQ+9sqWnIl1fL6tVbG3E/IUhe7b59sBk=";
+  };
+
+  propagatedBuildInputs = [
+    requests
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "eagle100"
+  ];
+
+  meta = with lib; {
+    description = "Python library for interacting with Rainforest EAGLE devices";
+    homepage = "https://github.com/hastarin/eagle100";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}