mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-19 03:28:45 +03:00
python3Packages.reedsolo: python 3.10 compat
This commit is contained in:
parent
90161bca63
commit
b801565f22
@ -1,4 +1,10 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, cython, nose }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "reedsolo";
|
||||
@ -12,6 +18,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-GUMdL5HclXxqMYasq9kUE7fCqOkjr1D20wjd/E+xPBk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# python3.10 compat; https://github.com/tomerfiliba/reedsolomon/pull/38
|
||||
url = "https://github.com/tomerfiliba/reedsolomon/commit/63e5bd9fc3ca503990c212eb2c77c10589e6d6c3.patch";
|
||||
hash = "sha256-47g+jUsJEAyqGnlzRA1oSyc2XFPUOfH0EW+vcOJzsxI=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
Loading…
Reference in New Issue
Block a user