Files
nixpkgs/pkgs/development/python-modules/fileseq/default.nix
2026-11-18 09:02:36 +01:00

44 lines
871 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "fileseq";
version = "3.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "justinfx";
repo = "fileseq";
tag = "v${finalAttrs.version}";
hash = "sha256-BO/2VwItRuef0wJNqU+q91JxgNMbZiiCW89XYoKmuHo=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "fileseq" ];
meta = {
description = "Python library for parsing frame ranges";
homepage = "https://github.com/justinfx/fileseq";
changelog = "https://github.com/justinfx/fileseq/releases/tag/${finalAttrs.src.tag}";
maintainers = with lib.maintainers; [ aaronwuerth ];
license = lib.licenses.mit;
};
})