at 23.05-pre 739 B view raw
1{ lib 2, buildPythonPackage 3, fetchpatch 4, fetchPypi 5}: 6 7buildPythonPackage rec { 8 pname = "fn"; 9 version = "0.4.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq"; 14 }; 15 16 patches = [ 17 (fetchpatch { 18 url = "https://github.com/kachayev/fn.py/commit/a54fc0bd8aeae277de2db726131d249ce607c0c2.patch"; 19 hash = "sha256-I0ZISOgVibsc1k7gwSfeW6qV9PspQqdaHlRLr/IusQ8="; 20 excludes = [ 21 "fn/monad.py" 22 ]; 23 }) 24 ]; 25 26 meta = with lib; { 27 description = '' 28 Functional programming in Python: implementation of missing 29 features to enjoy FP 30 ''; 31 homepage = "https://github.com/kachayev/fn.py"; 32 license = licenses.asl20; 33 }; 34}