mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
45 lines
977 B
Nix
45 lines
977 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
charset-normalizer,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aeidon";
|
|
version = "2.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "otsaloma";
|
|
repo = "gaupol";
|
|
tag = version;
|
|
hash = "sha256-qGoVCknjz2rLvS7TZrXvbCtYrtmtQA3e2Tnd5Wb9Dh4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|