python3Packages.aeidon: init at 1.15
This commit is contained in:
parent
e71402f44b
commit
dd01b4dcbf
61
pkgs/development/python-modules/aeidon/default.nix
Normal file
61
pkgs/development/python-modules/aeidon/default.nix
Normal file
@ -0,0 +1,61 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
gettext,
|
||||
flake8,
|
||||
isocodes,
|
||||
pytestCheckHook,
|
||||
charset-normalizer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aeidon";
|
||||
version = "1.15";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "aeidon";
|
||||
inherit version;
|
||||
sha256 = "sha256-qGpGraRZFVaW1Jys24qvfPo5WDg7Q/fhvm44JH8ulVw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
flake8
|
||||
];
|
||||
|
||||
dependencies = [ isocodes ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
python setup.py --without-gaupol install --prefix=$out
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
charset-normalizer
|
||||
];
|
||||
|
||||
# Aeidon is looking in the wrong subdirectory for data
|
||||
preCheck = ''
|
||||
cp -r data aeidon/
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [ "aeidon/test" ];
|
||||
|
||||
disabledTests = [
|
||||
# requires gspell to work with gobject introspection
|
||||
"test_spell"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aeidon" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reading, writing and manipulationg text-based subtitle files";
|
||||
homepage = "https://github.com/otsaloma/gaupol";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ erictapen ];
|
||||
};
|
||||
|
||||
}
|
@ -93,6 +93,8 @@ self: super: with self; {
|
||||
|
||||
advocate = callPackage ../development/python-modules/advocate { };
|
||||
|
||||
aeidon = callPackage ../development/python-modules/aeidon { };
|
||||
|
||||
aemet-opendata = callPackage ../development/python-modules/aemet-opendata { };
|
||||
|
||||
aenum = callPackage ../development/python-modules/aenum { };
|
||||
|
Loading…
Reference in New Issue
Block a user