pythonPackages.us: init at 1.0.0 (#34076)
This commit is contained in:
29
pkgs/development/python-modules/us/default.nix
Normal file
29
pkgs/development/python-modules/us/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jellyfish
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "us";
|
||||
version = "1.0.0";
|
||||
|
||||
propagatedBuildInputs = [ jellyfish ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1niglalkp7pinibzbxjdz9mxx9qmwkrh8884dag3kr72cfkrpp09";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A package for easily working with US and state metadata";
|
||||
longDescription = ''
|
||||
all US states and territories, postal abbreviations, Associated Press style
|
||||
abbreviations, FIPS codes, capitals, years of statehood, time zones, phonetic
|
||||
state name lookup, is contiguous or continental, URLs to shapefiles for state,
|
||||
census, congressional districts, counties, and census tracts
|
||||
'';
|
||||
homepage = https://github.com/unitedstates/python-us/;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user