mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
32 lines
704 B
Nix
32 lines
704 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, requests
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-i18n-address";
|
|
version = "2.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mirumee";
|
|
repo = "google-i18n-address";
|
|
rev = version;
|
|
sha256 = "0fn5sph6fq68zrjssgvnnvrkavs8arshjwgxng5dr5fsn6qii3mq";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "i18naddress" ];
|
|
|
|
meta = with lib; {
|
|
description = "Google's i18n address data packaged for Python";
|
|
homepage = "https://github.com/mirumee/google-i18n-address";
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|