nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytz,
6 zope-interface,
7}:
8
9buildPythonPackage rec {
10 pname = "datetime";
11 version = "6.0";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "zopefoundation";
16 repo = "datetime";
17 tag = version;
18 hash = "sha256-bxFdj9B0LUbnn/q5RcO3tBwqAMMl3Ovom036y0yfUbE=";
19 };
20
21 propagatedBuildInputs = [
22 pytz
23 zope-interface
24 ];
25
26 pythonImportsCheck = [ "DateTime" ];
27
28 meta = {
29 description = "DateTime data type, as known from Zope";
30 homepage = "https://github.com/zopefoundation/DateTime";
31 changelog = "https://github.com/zopefoundation/DateTime/blob/${version}/CHANGES.rst";
32 license = lib.licenses.zpl21;
33 maintainers = with lib.maintainers; [ icyrockcom ];
34 };
35}