nixpkgs/pkgs/misc/screensavers/pipes/default.nix

27 lines
650 B
Nix
Raw Normal View History

2015-10-24 20:17:46 +02:00
{ stdenv, fetchurl, pkgs }:
stdenv.mkDerivation rec {
name = "pipes-${version}";
2017-01-03 12:33:03 +01:00
version = "1.2.0";
2015-10-24 20:17:46 +02:00
src = fetchurl {
url = "https://github.com/pipeseroni/pipes.sh/archive/v${version}.tar.gz";
2017-01-03 12:33:03 +01:00
sha256 = "1v0xhgq30zkfjk9l5g8swpivh7rxfjbzhbjpr2c5c836wgn026fb";
2015-10-24 20:17:46 +02:00
};
buildInputs = with pkgs; [ bash ];
installPhase = ''
mkdir $out -p
make PREFIX=$out/ install
'';
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;
};
}