File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
pkgs/development/python-modules/us Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 66 pytestCheckHook ,
77 pythonOlder ,
88 pytz ,
9+ setuptools ,
910} :
1011
1112buildPythonPackage rec {
1213 pname = "us" ;
1314 version = "3.2.0" ;
14- format = "setuptools" ;
15+ pyproject = true ;
16+
17+ build-system = [ setuptools ] ;
1518
1619 disabled = pythonOlder "3.6" ;
1720
@@ -20,13 +23,9 @@ buildPythonPackage rec {
2023 hash = "sha256-yyI+hTk9zFFx6tDdISutxH+WZ7I3AP6j5+pfMQ1UUzg=" ;
2124 } ;
2225
23- postPatch = ''
24- # Upstream spins jellyfish
25- substituteInPlace setup.py \
26- --replace "jellyfish==" "jellyfish>="
27- '' ;
28-
29- propagatedBuildInputs = [ jellyfish ] ;
26+ propagatedBuildInputs = [
27+ jellyfish
28+ ] ;
3029
3130 nativeCheckInputs = [
3231 pytestCheckHook
@@ -35,7 +34,7 @@ buildPythonPackage rec {
3534
3635 pythonImportsCheck = [ "us" ] ;
3736
38- meta = with lib ; {
37+ meta = {
3938 description = "Package for easily working with US and state metadata" ;
4039 mainProgram = "states" ;
4140 longDescription = ''
@@ -45,7 +44,7 @@ buildPythonPackage rec {
4544 census, congressional districts, counties, and census tracts.
4645 '' ;
4746 homepage = "https://github.com/unitedstates/python-us/" ;
48- license = licenses . bsd3 ;
49- maintainers = [ ] ;
47+ license = lib . licenses . bsd3 ;
48+ maintainers = with lib . maintainers ; [ bot-wxt1221 ] ;
5049 } ;
5150}
You can’t perform that action at this time.
0 commit comments