python3Packages.precis-i18n: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-01-23 11:18:11 +01:00 committed by GitHub
parent 2420d5547d
commit eda41f3ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,15 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "precis-i18n";
version = "1.0.4";
format = "setuptools";
disabled = !isPy3k;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "byllyfish";
@ -13,9 +18,14 @@ buildPythonPackage rec {
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; [ ];
};
}