From 76595601ad2dbc91d9d7b40194f72a0cbf314c92 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 7 Aug 2022 00:11:41 -0300 Subject: [PATCH] pueue: 2.0.0 -> 2.1.0 --- pkgs/applications/misc/pueue/default.nix | 43 +++++++++++++++++++----- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/pueue/default.nix b/pkgs/applications/misc/pueue/default.nix index 0a7b4bc7933..27f4afb435f 100644 --- a/pkgs/applications/misc/pueue/default.nix +++ b/pkgs/applications/misc/pueue/default.nix @@ -1,23 +1,37 @@ -{ stdenv, lib, rustPlatform, fetchFromGitHub, installShellFiles, SystemConfiguration, libiconv }: +{ lib +, stdenv +, fetchFromGitHub +, SystemConfiguration +, installShellFiles +, libiconv +, rustPlatform +}: rustPlatform.buildRustPackage rec { pname = "pueue"; - version = "2.0.0"; + version = "2.1.0"; src = fetchFromGitHub { owner = "Nukesor"; - repo = pname; + repo = "pueue"; rev = "v${version}"; - sha256 = "sha256-eFO9v+CZ3sFJJ0Ksa2sV5snjBz9lUkElGSj4DfEUebs="; + hash = "sha256-xUTkjj/PdlgDEp2VMwBuRtF/9iGGiN4FZizdOdcbTag="; }; - cargoSha256 = "sha256-cyuDXMmVrVx3kluumR6WleMzuoV+261f47rpkVYHzZA="; + cargoSha256 = "sha256-7VdPu+9RYoj4Xfb3J6GLOji7Fqxkk+Fswi4C4q33+jk="; nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration libiconv ]; + buildInputs = lib.optionals stdenv.isDarwin [ + SystemConfiguration + libiconv + ]; - checkFlags = [ "--skip=test_single_huge_payload" "--skip=test_create_unix_socket" ]; + checkFlags = [ + "--test client_tests" + "--skip=test_single_huge_payload" + "--skip=test_create_unix_socket" + ]; postInstall = '' for shell in bash fish zsh; do @@ -27,10 +41,21 @@ rustPlatform.buildRustPackage rec { ''; meta = with lib; { - description = "A daemon for managing long running shell commands"; homepage = "https://github.com/Nukesor/pueue"; + description = "A daemon for managing long running shell commands"; + longDescription = '' + Pueue is a command-line task management tool for sequential and parallel + execution of long-running tasks. + + Simply put, it's a tool that processes a queue of shell commands. On top + of that, there are a lot of convenient features and abstractions. + + Since Pueue is not bound to any terminal, you can control your tasks from + any terminal on the same machine. The queue will be continuously + processed, even if you no longer have any active ssh sessions. + ''; changelog = "https://github.com/Nukesor/pueue/raw/v${version}/CHANGELOG.md"; license = licenses.mit; - maintainers = [ maintainers.marsam ]; + maintainers = with maintainers; [ marsam ]; }; }