Loading pkgs/development/python-modules/us/default.nix +9 −10 Original line number Diff line number Diff line Loading @@ -6,12 +6,15 @@ pytestCheckHook, pythonOlder, pytz, setuptools, }: buildPythonPackage rec { pname = "us"; version = "3.2.0"; format = "setuptools"; pyproject = true; build-system = [ setuptools ]; disabled = pythonOlder "3.6"; Loading @@ -20,13 +23,9 @@ buildPythonPackage rec { hash = "sha256-yyI+hTk9zFFx6tDdISutxH+WZ7I3AP6j5+pfMQ1UUzg="; }; postPatch = '' # Upstream spins jellyfish substituteInPlace setup.py \ --replace "jellyfish==" "jellyfish>=" ''; propagatedBuildInputs = [ jellyfish ]; propagatedBuildInputs = [ jellyfish ]; nativeCheckInputs = [ pytestCheckHook Loading @@ -35,7 +34,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "us" ]; meta = with lib; { meta = { description = "Package for easily working with US and state metadata"; mainProgram = "states"; longDescription = '' Loading @@ -45,7 +44,7 @@ buildPythonPackage rec { census, congressional districts, counties, and census tracts. ''; homepage = "https://github.com/unitedstates/python-us/"; license = licenses.bsd3; license = lib.licenses.bsd3; maintainers = [ ]; }; } Loading
pkgs/development/python-modules/us/default.nix +9 −10 Original line number Diff line number Diff line Loading @@ -6,12 +6,15 @@ pytestCheckHook, pythonOlder, pytz, setuptools, }: buildPythonPackage rec { pname = "us"; version = "3.2.0"; format = "setuptools"; pyproject = true; build-system = [ setuptools ]; disabled = pythonOlder "3.6"; Loading @@ -20,13 +23,9 @@ buildPythonPackage rec { hash = "sha256-yyI+hTk9zFFx6tDdISutxH+WZ7I3AP6j5+pfMQ1UUzg="; }; postPatch = '' # Upstream spins jellyfish substituteInPlace setup.py \ --replace "jellyfish==" "jellyfish>=" ''; propagatedBuildInputs = [ jellyfish ]; propagatedBuildInputs = [ jellyfish ]; nativeCheckInputs = [ pytestCheckHook Loading @@ -35,7 +34,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "us" ]; meta = with lib; { meta = { description = "Package for easily working with US and state metadata"; mainProgram = "states"; longDescription = '' Loading @@ -45,7 +44,7 @@ buildPythonPackage rec { census, congressional districts, counties, and census tracts. ''; homepage = "https://github.com/unitedstates/python-us/"; license = licenses.bsd3; license = lib.licenses.bsd3; maintainers = [ ]; }; }