nixpkgs/pkgs/development/python-modules/trakit/default.nix
Martin Weinelt 8ea6bde88d
treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

58 lines
1,015 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build dependencies
poetry-core,
# dependencies
babelfish,
pyyaml,
rebulk,
unidecode,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "trakit";
version = "0.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "ratoaq2";
repo = "trakit";
tag = version;
hash = "sha256-x/83yRzvQ81+wS0lJr52KYBMoPvSVDr17ppxG/lSfUg=";
};
build-system = [ poetry-core ];
dependencies = [
babelfish
pyyaml
rebulk
];
nativeCheckInputs = [
pytestCheckHook
unidecode
];
disabledTests = [
# requires network access
"test_generate_config"
];
pythonImportsCheck = [ "trakit" ];
meta = {
description = "Guess additional information from track titles";
homepage = "https://github.com/ratoaq2/trakit";
changelog = "https://github.com/ratoaq2/trakit/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
};
}