1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

Merge pull request #90000 from mweinelt/python-spidev

pythonPackages.spidev: init at 3.5
This commit is contained in:
Benjamin Hipple 2020-07-05 20:28:01 -04:00 committed by GitHub
commit f02c41e3ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "spidev";
version = "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "03cicc9kpi5khhq0bl4dcy8cjcl2j488mylp8sna47hnkwl5qzwa";
};
# package does not include tests
doCheck = false;
pythonImportsCheck = [ "spidev" ];
meta = with lib; {
homepage = "https://github.com/doceme/py-spidev";
description = "Python bindings for Linux SPI access through spidev";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -1571,6 +1571,8 @@ in {
spglib = callPackage ../development/python-modules/spglib { };
spidev = callPackage ../development/python-modules/spidev { };
srvlookup = callPackage ../development/python-modules/srvlookup { };
sshpubkeys = callPackage ../development/python-modules/sshpubkeys { };