git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.us: fix build

Required jellyfish==0.5.6 but we have 0.6.1. Loosen requirements.

commita7166cdc35263b2ea1266226580d0831637cd293 authorUli Baum <xeji@cat3.de> dateMon 10 Sep 2018, 17:06 (8 years ago) parentf38e8c0
1 file changed+7
pkgs/development/python-modules/us/default.nix+7
pkgs/development/python-modules/us/default.nix+7
@@ -15,6 +15,13 @@ buildPythonPackage rec {
1515 sha256 = "1niglalkp7pinibzbxjdz9mxx9qmwkrh8884dag3kr72cfkrpp09";
1616 };
1717
18+ # Upstream requires jellyfish==0.5.6 but we have 0.6.1
19+ postPatch = ''
20+ substituteInPlace setup.py --replace "jellyfish==" "jellyfish>="
21+ '';
22+
23+ doCheck = false; # pypi version doesn't include tests
24+
1825 meta = {
1926 description = "A package for easily working with US and state metadata";
2027 longDescription = ''