File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
pkgs/development/python-modules/cloudpickle Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5- pythonOlder ,
65
76 # build-system
87 flit-core ,
98
109 # tests
11- psutil ,
1210 pytestCheckHook ,
1311} :
1412
@@ -17,34 +15,32 @@ buildPythonPackage rec {
1715 version = "3.1.2" ;
1816 pyproject = true ;
1917
20- disabled = pythonOlder "3.6" ;
21-
2218 src = fetchFromGitHub {
2319 owner = "cloudpipe" ;
2420 repo = "cloudpickle" ;
2521 tag = "v${ version } " ;
2622 hash = "sha256-BsCOEpNCNqq8PS+SdbzF1wq0LXEmtcHJs0pdt2qFw/w=" ;
2723 } ;
2824
29- nativeBuildInputs = [ flit-core ] ;
25+ build-system = [ flit-core ] ;
3026
3127 nativeCheckInputs = [
32- psutil
3328 pytestCheckHook
3429 ] ;
3530
3631 pythonImportsCheck = [ "cloudpickle" ] ;
3732
3833 disabledTestPaths = [
3934 # ModuleNotFoundError: No module named 'psutil'
35+ # (because _make_cwd_env() overwrites $PYTHONPATH)
4036 "tests/cloudpickle_test.py"
4137 ] ;
4238
43- meta = with lib ; {
39+ meta = {
4440 changelog = "https://github.com/cloudpipe/cloudpickle/blob/${ src . tag } /CHANGES.md" ;
4541 description = "Extended pickling support for Python objects" ;
4642 homepage = "https://github.com/cloudpipe/cloudpickle" ;
47- license = with licenses ; [ bsd3 ] ;
43+ license = lib . licenses . bsd3 ;
4844 maintainers = [ ] ;
4945 } ;
5046}
You can’t perform that action at this time.
0 commit comments