diff --git a/pkgs/development/python-modules/us/default.nix b/pkgs/development/python-modules/us/default.nix index 6bb04feecef5..a6de4cfcb0cf 100644 --- a/pkgs/development/python-modules/us/default.nix +++ b/pkgs/development/python-modules/us/default.nix @@ -7,19 +7,26 @@ buildPythonPackage rec { pname = "us"; version = "3.1.1"; + format = "setuptools"; - propagatedBuildInputs = [ jellyfish ]; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-40eWPo0kocp0N69EP6aFkXdoR7UMhlDY7w61NILnBcI="; + hash = "sha256-40eWPo0kocp0N69EP6aFkXdoR7UMhlDY7w61NILnBcI="; }; - # Upstream requires jellyfish==0.5.6 but we have 0.6.1 + # Upstream spins jellyfish postPatch = '' - substituteInPlace setup.py --replace "jellyfish==" "jellyfish>=" + substituteInPlace setup.py \ + --replace "jellyfish==" "jellyfish>=" ''; + propagatedBuildInputs = [ + jellyfish + ]; + + doCheck = false; # pypi version doesn't include tests meta = {