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
51 lines
924 B
Nix
51 lines
924 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
nixosTests,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "steck";
|
|
version = "0.8.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "supakeen";
|
|
repo = "steck";
|
|
tag = "v${version}";
|
|
hash = "sha256-5Spops8ERQ7TgFYH7n+c4hKdIQfjjujKaGhmhfAszgQ=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
poetry-core
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
pkgs.git
|
|
appdirs
|
|
click
|
|
python-magic
|
|
requests
|
|
termcolor
|
|
toml
|
|
];
|
|
|
|
pythonRelaxDeps = [ "termcolor" ];
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
passthru.tests = nixosTests.pinnwand;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/supakeen/steck";
|
|
license = lib.licenses.mit;
|
|
description = "Client for pinnwand pastebin";
|
|
mainProgram = "steck";
|
|
maintainers = with lib.maintainers; [ hexa ];
|
|
};
|
|
}
|