Files
nixpkgs/pkgs/by-name/pi/pipes-rs/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

39 lines
868 B
Nix

{
rustPlatform,
fetchFromGitHub,
lib,
}:
rustPlatform.buildRustPackage rec {
pname = "pipes-rs";
version = "1.6.4";
src = fetchFromGitHub {
owner = "lhvy";
repo = "pipes-rs";
rev = "v${version}";
sha256 = "sha256-7FdC/VY1ZO4E/qDdeKzsIai8h5ZgMrSr1C+Ny4fYh38=";
};
cargoHash = "sha256-TIVWl/9xSFsSXD9XzOHBvc/1HvI/radas00p4fZ/AzM=";
doInstallCheck = true;
installCheckPhase = ''
if [[ "$("$out/bin/pipes-rs" --version)" == "pipes-rs ${version}" ]]; then
echo 'pipes-rs smoke check passed'
else
echo 'pipes-rs smoke check failed'
return 1
fi
'';
meta = with lib; {
description = "Over-engineered rewrite of pipes.sh in Rust";
mainProgram = "pipes-rs";
homepage = "https://github.com/lhvy/pipes-rs";
license = licenses.blueOak100;
maintainers = [ maintainers.vanilla ];
};
}