git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #42421 from bandresen/python-periphery

pythonPackages.python-periphery: init at 1.1.1

commit1106d872ae8102156f14959bf7b96fcf240ea88c authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateSat 23 Jun 2018, 13:53 (8 years ago) parent14b28261dcee7a
2 files changed+23
pkgs/development/python-modules/python-periphery/default.nix+21 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/python-periphery/default.nixnew file+21
@@ -0,0 +1,21 @@
1+{ lib, buildPythonPackage, fetchPypi }:
2+
3+buildPythonPackage rec {
4+ pname = "python-periphery";
5+ version = "1.1.1";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "fe8f351934edce72cd919b4eb070878ebff551db5e21aea61e0f446101f0a79f";
10+ };
11+
12+ # Some tests require physical probing and additional physical setup
13+ doCheck = false;
14+
15+ meta = {
16+ homepage = https://github.com/vsergeev/python-periphery;
17+ description = "Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) with Python 2 & 3";
18+ license = lib.licenses.mit;
19+ maintainers = with lib.maintainers; [ bandresen ];
20+ };
21+}
pkgs/top-level/python-packages.nix+2
@@ -434,6 +434,8 @@ in {
434434 then ../development/python-modules/python3-openid
435435 else ../development/python-modules/python-openid) { };
436436
437+ python-periphery = callPackage ../development/python-modules/python-periphery { };
438+
437439 python-sql = callPackage ../development/python-modules/python-sql { };
438440
439441 python-stdnum = callPackage ../development/python-modules/python-stdnum { };