diff --git a/pkgs/development/python-modules/precis-i18n/default.nix b/pkgs/development/python-modules/precis-i18n/default.nix index 807e81df1a39..f6e0459139a0 100644 --- a/pkgs/development/python-modules/precis-i18n/default.nix +++ b/pkgs/development/python-modules/precis-i18n/default.nix @@ -1,21 +1,31 @@ -{ lib, buildPythonPackage, fetchFromGitHub, isPy3k }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: buildPythonPackage rec { pname = "precis-i18n"; - version = "1.0.3"; + version = "1.0.4"; + format = "setuptools"; - disabled = !isPy3k; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "byllyfish"; repo = "precis_i18n"; rev = "v${version}"; - hash = "sha256-pBmllX1RVdFnZsDSW7Hh5uVqK2d++kcp1NQLN/phXdU="; + hash = "sha256-90yNusUyz8qJi7WWYIFhHzrpvu1TqxfpT+lv2CVhSR8="; }; - meta = { + pythonImportsCheck = [ + "precis_i18n" + ]; + + meta = with lib; { homepage = "https://github.com/byllyfish/precis_i18n"; description = "Internationalized usernames and passwords"; - license = lib.licenses.mit; + license = licenses.mit; + maintainers = with maintainers; [ ]; }; }