Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 31 lines 722 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "google-i18n-address"; 10 version = "2.5.2"; 11 12 src = fetchFromGitHub { 13 owner = "mirumee"; 14 repo = "google-i18n-address"; 15 rev = "refs/tags/${version}"; 16 hash = "sha256-7t5sNpEVajdwcW8+xTNZQKZVgxhUzfbVbEVgn7JJ2MY="; 17 }; 18 19 propagatedBuildInputs = [ requests ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "i18naddress" ]; 24 25 meta = with lib; { 26 description = "Google's i18n address data packaged for Python"; 27 homepage = "https://github.com/mirumee/google-i18n-address"; 28 maintainers = with maintainers; [ SuperSandro2000 ]; 29 license = licenses.bsd3; 30 }; 31}