Files
nixpkgs/pkgs/by-name/st/stig/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

62 lines
1.3 KiB
Nix

{
lib,
fetchFromGitHub,
python3Packages,
testers,
stig,
}:
python3Packages.buildPythonApplication rec {
pname = "stig";
# This project has a different concept for pre release / alpha,
# Read the project's README for details: https://github.com/rndusr/stig#stig
version = "0.14.0a0";
pyproject = true;
src = fetchFromGitHub {
owner = "rndusr";
repo = "stig";
rev = "v${version}";
hash = "sha256-wColVJBr5oGYpN0RCh716qxKuaEhKxfl95cktZl9zMk=";
};
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
urwid
urwidtrees
aiohttp
async-timeout
pyxdg
blinker
natsort
setproctitle
];
pythonRelaxDeps = [
# relax urwidtrees==1.0.3
"urwidtrees"
];
# According to the upstream author,
# stig no longer has working tests
# since asynctest (former test dependency) got abandoned.
# See https://github.com/rndusr/stig/issues/206#issuecomment-2669636320
doCheck = false;
passthru.tests = testers.testVersion {
package = stig;
command = "stig -v";
version = "stig version ${version}";
};
meta = {
description = "TUI and CLI for the BitTorrent client Transmission";
homepage = "https://github.com/rndusr/stig";
license = lib.licenses.gpl3Plus;
maintainers = [ ];
};
}