Files
nixpkgs/pkgs/development/python-modules/isodate/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

34 lines
639 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "isodate";
version = "0.7.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-TNGqD0PKdvSmxsApKoX0CzXsLkPjFbWfBubTIXGpU+Y=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/gweis/isodate/blob/${version}/CHANGES.txt";
description = "ISO 8601 date/time parser";
homepage = "https://github.com/gweis/isodate/";
license = lib.licenses.bsd0;
};
}