36 lines
688 B
Nix
36 lines
688 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
wtforms,
|
|
python-dateutil,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wtforms-dateutil";
|
|
version = "0.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wtforms";
|
|
repo = "wtforms-dateutil";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-k1DZqf2FgyupNvRIIrPLwxbTP5MteCnvASCkpCZRyAE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
wtforms
|
|
python-dateutil
|
|
];
|
|
|
|
pythonImportChecks = [ "wtforms_dateutil" ];
|
|
|
|
meta = {
|
|
description = "WTForms fields using dateutil";
|
|
homepage = "https://github.com/pallets-eco/wtforms-dateutil";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|