Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, charset-normalizer,}:
buildPythonPackage rec { pname = "aeidon"; version = "1.15"; pyproject = true;
src = fetchFromGitHub { owner = "otsaloma"; repo = "gaupol"; tag = version; hash = "sha256-lhNyeieeiBBm3rNDEU0BuWKeM6XYlOtv1voW8tR8cUM="; };
postPatch = '' mv setup.py setup_gaupol.py substituteInPlace setup-aeidon.py \ --replace "from setup import" "from setup_gaupol import" mv setup-aeidon.py setup.py '';
build-system = [ setuptools ];
dependencies = [ charset-normalizer ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "aeidon/test" ];
disabledTests = [ # requires gspell to work with gobject introspection "test_spell" ];
pythonImportsCheck = [ "aeidon" ];
meta = with lib; { changelog = "https://github.com/otsaloma/gaupol/releases/tag/${version}"; description = "Reading, writing and manipulationg text-based subtitle files"; homepage = "https://github.com/otsaloma/gaupol"; license = licenses.gpl3Plus; maintainers = with maintainers; [ erictapen ]; };
}