summary refs log tree commit diff
path: root/pkgs/development/python-modules/delorean/default.nix
blob: 847a5c6e5ad7929a547fb5ffc4e3e803596d714d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildPythonPackage
, fetchPypi
, babel
, humanize
, python-dateutil
, tzlocal
}:

buildPythonPackage rec {
  pname = "Delorean";
  version = "1.0.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0d31ay7yq2w7xz7m3ssk5phjbm64b2k8hmgcif22719k29p7hrzy";
  };

  propagatedBuildInputs = [ babel humanize python-dateutil tzlocal ];

  pythonImportsCheck = [ "delorean" ];

  # test data not included
  doCheck = false;

  meta = with lib; {
    description = "Delorean: Time Travel Made Easy";
    homepage = "https://github.com/myusuf3/delorean";
    license = licenses.mit;
    maintainers = with maintainers; [ globin ];
  };
}