forked from mirrors/nixpkgs
python3Packages.rpi-gpio2: uses fetchFromGitHub
The archive hash has changed. See https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/
This commit is contained in:
parent
2caf4ef500
commit
ba3979d79d
|
@ -1,13 +1,15 @@
|
|||
{ lib, libgpiod, buildPythonPackage, fetchurl }:
|
||||
{ lib, libgpiod, buildPythonPackage, fetchFromGitHub }:
|
||||
|
||||
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=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "underground-software";
|
||||
repo = "RPi.GPIO2";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8HQbEnO+4Ppo2Z3HBulbBcSKJF1bNNQYz8k6aUt65oc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue