python3Packages.iso3166: 0.8 -> 1.0.1
This commit is contained in:
parent
aa1561e780
commit
b12a239a8e
|
@ -1,22 +1,25 @@
|
||||||
{ lib, fetchFromGitHub, buildPythonPackage, pytest }:
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildPythonPackage
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage rec {
|
||||||
pname = "iso3166";
|
pname = "iso3166";
|
||||||
version = "0.8";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deactivated";
|
owner = "deactivated";
|
||||||
repo = "python-iso3166";
|
repo = "python-iso3166";
|
||||||
# repo has no version tags
|
rev = "v${version}";
|
||||||
rev = "f04e499447bbff10af701cf3dd81f6bcdf02f7d7";
|
|
||||||
sha256 = "0zs9za9dr2nl5srxir08yibmp6nffcapmzala0fgh8ny7y6rafrx";
|
sha256 = "0zs9za9dr2nl5srxir08yibmp6nffcapmzala0fgh8ny7y6rafrx";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "iso3166" ];
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/deactivated/python-iso3166";
|
homepage = "https://github.com/deactivated/python-iso3166";
|
||||||
|
|
Loading…
Reference in a new issue