nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 jalali-core,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "jdatetime";
11 version = "5.2.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-yB1YmHF7grYJo84qc/i40yMLDHV+XA3p1rGs/cIk9VE=";
17 };
18
19 build-system = [ setuptools ];
20
21 dependencies = [ jalali-core ];
22
23 pythonImportsCheck = [ "jdatetime" ];
24
25 meta = {
26 description = "Jalali datetime binding";
27 homepage = "https://github.com/slashmili/python-jalali";
28 changelog = "https://github.com/slashmili/python-jalali/blob/v${version}/CHANGELOG.md";
29 license = lib.licenses.psfl;
30 maintainers = [ ];
31 };
32}