nixpkgs/pkgs/misc/screensavers/pipes/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
638 B
Nix

{ stdenv, fetchurl, pkgs }:
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";
};
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;
};
}