mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
0215034f25
when they already rely on SRI hashes.
35 lines
603 B
Nix
35 lines
603 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jdatetime";
|
|
version = "4.1.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-SmeoLuV+NbX2+ff75qDtpj9Wzh3Yr0CbTComozQEV9s=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"jdatetime"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Jalali datetime binding";
|
|
homepage = "https://github.com/slashmili/python-jalali";
|
|
license = licenses.psfl;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|