567e8dfd8e
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>
43 lines
703 B
Nix
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 = [ ];
|
|
};
|
|
}
|