mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-28 11:14:46 +00:00
Diff: https://github.com/otsaloma/gaupol/compare/1.16...2.0 Changelog: https://github.com/otsaloma/gaupol/releases/tag/2.0
46 lines
988 B
Nix
46 lines
988 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
charset-normalizer,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
pytestCheckHook,
|
|
setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aeidon";
|
|
version = "2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "otsaloma";
|
|
repo = "gaupol";
|
|
tag = version;
|
|
hash = "sha256-vMmDG9oQ6u9J4f972EdbsI5Z3faGumlkUzXVmqtd+O4=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [ charset-normalizer ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
enabledTestPaths = [ "aeidon/test" ];
|
|
|
|
disabledTests = [
|
|
# requires gspell to work with gobject introspection
|
|
"test_spell"
|
|
];
|
|
|
|
pythonImportsCheck = [ "aeidon" ];
|
|
|
|
meta = {
|
|
description = "Reading, writing and manipulating text-based subtitle files";
|
|
homepage = "https://github.com/otsaloma/gaupol";
|
|
changelog = "https://github.com/otsaloma/gaupol/releases/tag/${src.tag}";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ erictapen ];
|
|
};
|
|
}
|