Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / spidev / default.nix
blob0d0fd582363ef587f8574a49516bd8358634b917
1 { lib, buildPythonPackage, fetchPypi }:
3 buildPythonPackage rec {
4   pname = "spidev";
5   version = "3.5";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "03cicc9kpi5khhq0bl4dcy8cjcl2j488mylp8sna47hnkwl5qzwa";
10   };
12   # package does not include tests
13   doCheck = false;
15   pythonImportsCheck = [ "spidev" ];
17   meta = with lib; {
18     homepage = "https://github.com/doceme/py-spidev";
19     description = "Python bindings for Linux SPI access through spidev";
20     license = licenses.mit;
21     maintainers = with maintainers; [ hexa ];
22   };