2020-08-21 23:02:46 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, coreutils, ncurses }:
|
2015-10-24 20:17:46 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "pipes";
|
2019-04-07 19:03:46 +02:00
|
|
|
version = "1.3.0";
|
2015-10-24 20:17:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pipeseroni/pipes.sh/archive/v${version}.tar.gz";
|
2019-04-07 19:03:46 +02:00
|
|
|
sha256 = "09m4alb3clp3rhnqga5v6070p7n1gmnwp2ssqhq87nf2ipfpcaak";
|
2015-10-24 20:17:46 +02:00
|
|
|
};
|
|
|
|
|
2020-08-21 23:02:46 +02:00
|
|
|
buildInputs = [ makeWrapper ];
|
2015-10-24 20:17:46 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out -p
|
|
|
|
make PREFIX=$out/ install
|
2020-08-21 23:02:46 +02:00
|
|
|
|
|
|
|
wrapProgram $out/bin/pipes.sh \
|
|
|
|
--set PATH "${stdenv.lib.makeBinPath [ coreutils ncurses ]}"
|
2015-10-24 20:17:46 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/pipeseroni/pipes.sh";
|
2015-10-24 20:17:46 +02:00
|
|
|
description = "Animated pipes terminal screensaver";
|
|
|
|
license = licenses.mit;
|
2019-02-20 19:52:48 +01:00
|
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
2015-10-24 20:17:46 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|