mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
python310Packages.rpi-gpio2: init at 0.3.0a3
This commit is contained in:
parent
5d0fa80cce
commit
b1957596ff
28
pkgs/development/python-modules/rpi-gpio2/default.nix
Normal file
28
pkgs/development/python-modules/rpi-gpio2/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib, libgpiod, buildPythonPackage, fetchurl }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "rpi-gpio2";
|
||||||
|
version = "0.3.0a3";
|
||||||
|
|
||||||
|
# PyPi source does not work for some reason
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/underground-software/RPi.GPIO2/archive/refs/tags/v${version}.tar.gz";
|
||||||
|
sha256 = "sha256-AY1AD2Yu66eJUqB4OStZnUeEhmISLVRrTOAcmEHjuOM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
libgpiod
|
||||||
|
];
|
||||||
|
|
||||||
|
# Disable checks because they need to run on the specific platform
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/underground-software/RPi.GPIO2";
|
||||||
|
description = ''
|
||||||
|
Compatibility layer between RPi.GPIO syntax and libgpiod semantics
|
||||||
|
'';
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ onny ];
|
||||||
|
};
|
||||||
|
}
|
@ -9344,6 +9344,8 @@ in {
|
|||||||
|
|
||||||
rpi-gpio = callPackage ../development/python-modules/rpi-gpio { };
|
rpi-gpio = callPackage ../development/python-modules/rpi-gpio { };
|
||||||
|
|
||||||
|
rpi-gpio2 = callPackage ../development/python-modules/rpi-gpio2 { };
|
||||||
|
|
||||||
rply = callPackage ../development/python-modules/rply { };
|
rply = callPackage ../development/python-modules/rply { };
|
||||||
|
|
||||||
rpm = toPythonModule (pkgs.rpm.override {
|
rpm = toPythonModule (pkgs.rpm.override {
|
||||||
|
Loading…
Reference in New Issue
Block a user