2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper, coreutils, ncurses }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pipes";
|
|
|
|
version = "1.3.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pipeseroni/pipes.sh/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "09m4alb3clp3rhnqga5v6070p7n1gmnwp2ssqhq87nf2ipfpcaak";
|
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildInputs = [ makeWrapper ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out -p
|
|
|
|
make PREFIX=$out/ install
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
wrapProgram $out/bin/pipes.sh \
|
|
|
|
--set PATH "${stdenv.lib.makeBinPath [ coreutils ncurses ]}"
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/pipeseroni/pipes.sh";
|
|
|
|
description = "Animated pipes terminal screensaver";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|