pythonPackages.spidev: init at 3.5
This commit is contained in:
parent
6f1a37a4f1
commit
cace0f76e4
24
pkgs/development/python-modules/spidev/default.nix
Normal file
24
pkgs/development/python-modules/spidev/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -1567,6 +1567,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user