nix/pkgs/wtforms-dateutil/default.nix
Jeltz d12f9d91d1
WIP: Add indico profile + required packages
Signed-off-by: Jeltz <jeltz@federez.net>
2025-04-05 21:19:32 +02:00

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;
};
}