Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
lib,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "mnamer";
|
|
version = "2.5.5";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jkwill87";
|
|
repo = "mnamer";
|
|
tag = version;
|
|
sha256 = "sha256-qQu5V1GOsbrR00HOrot6TTAkc3KRasBPDEU7ZojUBio=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
appdirs
|
|
babelfish
|
|
guessit
|
|
requests
|
|
requests-cache
|
|
teletype
|
|
];
|
|
|
|
pythonRelaxDeps = true;
|
|
|
|
patches = [
|
|
# https://github.com/jkwill87/mnamer/pull/291
|
|
./cached_session_error.patch
|
|
];
|
|
|
|
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
|
|
|
|
# disable test that fail (networking, etc)
|
|
disabledTests = [
|
|
"network"
|
|
"e2e"
|
|
"test_utils.py"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jkwill87/mnamer";
|
|
description = "Intelligent and highly configurable media organization utility";
|
|
mainProgram = "mnamer";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ urlordjames ];
|
|
};
|
|
}
|