python3Packages.fn: patch for python3.10 compat
This commit is contained in:
parent
4c3a954438
commit
67579d12ad
1 changed files with 22 additions and 8 deletions
|
@ -1,20 +1,34 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchpatch
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fn";
|
pname = "fn";
|
||||||
version = "0.4.3";
|
version = "0.4.3";
|
||||||
|
|
||||||
meta = {
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/kachayev/fn.py/commit/a54fc0bd8aeae277de2db726131d249ce607c0c2.patch";
|
||||||
|
hash = "sha256-I0ZISOgVibsc1k7gwSfeW6qV9PspQqdaHlRLr/IusQ8=";
|
||||||
|
excludes = [
|
||||||
|
"fn/monad.py"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = ''
|
description = ''
|
||||||
Functional programming in Python: implementation of missing
|
Functional programming in Python: implementation of missing
|
||||||
features to enjoy FP
|
features to enjoy FP
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/kachayev/fn.py";
|
homepage = "https://github.com/kachayev/fn.py";
|
||||||
license = lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
};
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue