python3Packages.jdatetime: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-01-23 11:43:20 +01:00 committed by GitHub
parent 38e16d7c76
commit 72a1248673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,34 @@
{ lib, buildPythonPackage, fetchPypi, six }:
{ lib
, buildPythonPackage
, fetchPypi
, six
, pythonOlder
}:
buildPythonPackage rec {
pname = "jdatetime";
version = "3.8.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "db57ee517356b1bfc1603ef412f5da61eae92241ba0bcaf0851028cae424780c";
};
propagatedBuildInputs = [ six ];
propagatedBuildInputs = [
six
];
pythonImportsCheck = [
"jdatetime"
];
meta = with lib; {
description = "Jalali datetime binding for python";
homepage = "https://pypi.python.org/pypi/jdatetime";
description = "Jalali datetime binding";
homepage = "https://github.com/slashmili/python-jalali";
license = licenses.psfl;
maintainers = with maintainers; [ ];
};
}