1 { rustPlatform, fetchFromGitHub, lib }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-PUCbirnOPYIqt56IF6UQ7Jd0bJLsVY2pGIn/C95HTrQ=";
14 cargoHash = "sha256-6OTiciRqZyuX4FaDg131DEaVssUT2OYXdw/cxxJmLso=";
16 doInstallCheck = true;
18 installCheckPhase = ''
19 if [[ "$("$out/bin/${pname}" --version)" == "${pname} ${version}" ]]; then
20 echo '${pname} smoke check passed'
22 echo '${pname} smoke check failed'
28 description = "An over-engineered rewrite of pipes.sh in Rust";
29 homepage = "https://github.com/lhvy/pipes-rs";
30 license = licenses.blueOak100;
31 maintainers = [ maintainers.vanilla ];