10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-0ykGGzYL29SxxT0etTaBHooIE8NEUJeTIr/6vTBgY0Q=";
23 substituteInPlace systemd/shpool.service \
24 --replace-fail '/usr/bin/shpool' "$out/bin/shpool"
27 cargoHash = "sha256-cuLscDki8Y68qtEZh7xDaLp5B6MyTkPWTQX5gHNtULQ=";
33 # The majority of tests rely on impure environment
34 # (such as systemd socket, ssh socket), and some of them
35 # have race conditions. They don't print their full name,
36 # tried skipping them but failed
40 install -Dm444 systemd/shpool.service -t $out/lib/systemd/user
41 install -Dm444 systemd/shpool.socket -t $out/lib/systemd/user
44 passthru.tests.version = testers.testVersion {
45 command = "shpool version";
50 description = "Persistent session management like tmux, but more lightweight";
51 homepage = "https://github.com/shell-pool/shpool";
52 license = lib.licenses.asl20;
53 mainProgram = "shpool";
54 maintainers = with lib.maintainers; [ aleksana ];
55 platforms = lib.platforms.linux;