6064764516
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
31 lines
770 B
Nix
31 lines
770 B
Nix
{ lib, stdenv, fetchFromGitHub, makeWrapper, coreutils, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pipes";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pipeseroni";
|
|
repo = "pipes.sh";
|
|
rev = "v${version}";
|
|
hash = "sha256-856OWlnNiGB20571TJg7Ayzcz4r6NqdW5DMDiim09mc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
installPhase = ''
|
|
mkdir $out -p
|
|
make PREFIX=$out/ install
|
|
|
|
wrapProgram $out/bin/pipes.sh \
|
|
--set PATH "${lib.makeBinPath [ coreutils ncurses ]}"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/pipeseroni/pipes.sh";
|
|
description = "Animated pipes terminal screensaver";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|