Files
nixpkgs/pkgs/development/python-modules/delorean/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
703 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
babel,
humanize,
python-dateutil,
pytz,
tzlocal,
}:
buildPythonPackage rec {
pname = "delorean";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
pname = "Delorean";
inherit version;
hash = "sha256-/md4bhIzhSOEi+xViKZYxNQl4S1T61HP74cL7I9XYTQ=";
};
propagatedBuildInputs = [
babel
humanize
python-dateutil
pytz
tzlocal
];
pythonImportsCheck = [ "delorean" ];
# test data not included
doCheck = false;
meta = {
description = "Delorean: Time Travel Made Easy";
homepage = "https://github.com/myusuf3/delorean";
license = lib.licenses.mit;
maintainers = [ ];
};
}