python3Packages.iso3166: 0.8 -> 1.0.1

This commit is contained in:
Fabian Affolter 2021-07-09 22:24:28 +02:00 committed by Jonathan Ringer
parent aa1561e780
commit b12a239a8e

View file

@ -1,22 +1,25 @@
{ lib, fetchFromGitHub, buildPythonPackage, pytest }:
{ lib
, fetchFromGitHub
, buildPythonPackage
, pytestCheckHook
}:
buildPythonPackage {
buildPythonPackage rec {
pname = "iso3166";
version = "0.8";
version = "1.0.1";
src = fetchFromGitHub {
owner = "deactivated";
repo = "python-iso3166";
# repo has no version tags
rev = "f04e499447bbff10af701cf3dd81f6bcdf02f7d7";
rev = "v${version}";
sha256 = "0zs9za9dr2nl5srxir08yibmp6nffcapmzala0fgh8ny7y6rafrx";
};
checkInputs = [ pytest ];
checkInputs = [
pytestCheckHook
];
checkPhase = ''
py.test
'';
pythonImportsCheck = [ "iso3166" ];
meta = with lib; {
homepage = "https://github.com/deactivated/python-iso3166";