diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-09-13 11:53:06 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-09-13 17:18:49 +0000 |
commit | c3e005913d59b8ad64004e60888a71816688af1f (patch) | |
tree | f65b32f0d16acaa40f2ee82ac736d150de4b6cf5 /nixpkgs/pkgs/development/python-modules/ueagle | |
parent | 1c8034da05499ca3d999f57ba1f6b235e7711ee1 (diff) | |
parent | db88608d8c811a93b74c99cfa1224952afc78200 (diff) | |
download | nixlib-c3e005913d59b8ad64004e60888a71816688af1f.tar nixlib-c3e005913d59b8ad64004e60888a71816688af1f.tar.gz nixlib-c3e005913d59b8ad64004e60888a71816688af1f.tar.bz2 nixlib-c3e005913d59b8ad64004e60888a71816688af1f.tar.lz nixlib-c3e005913d59b8ad64004e60888a71816688af1f.tar.xz nixlib-c3e005913d59b8ad64004e60888a71816688af1f.tar.zst nixlib-c3e005913d59b8ad64004e60888a71816688af1f.zip |
Merge commit 'db88608d8c811a93b74c99cfa1224952afc78200'
Conflicts: nixpkgs/nixos/modules/config/update-users-groups.pl
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/ueagle')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/ueagle/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/ueagle/default.nix b/nixpkgs/pkgs/development/python-modules/ueagle/default.nix new file mode 100644 index 000000000000..fc61123377aa --- /dev/null +++ b/nixpkgs/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 ]; + }; +} |