From 23982a4f160394ff116e8a34a528d8130b33e255 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 24 Oct 2015 20:17:46 +0200 Subject: [PATCH] pipes.sh: Init at 1.1.0 --- pkgs/misc/screensavers/pipes/default.nix | 26 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/misc/screensavers/pipes/default.nix diff --git a/pkgs/misc/screensavers/pipes/default.nix b/pkgs/misc/screensavers/pipes/default.nix new file mode 100644 index 000000000000..8ff4a1074e61 --- /dev/null +++ b/pkgs/misc/screensavers/pipes/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, pkgs }: + +stdenv.mkDerivation rec { + name = "pipes-${version}"; + version = "1.1.0"; + + src = fetchurl { + url = "https://github.com/pipeseroni/pipes.sh/archive/v${version}.tar.gz"; + sha256 = "1225llbm0zfnkqykfi7qz7z5p102pwldmj22761m653jy0ahi7w2"; + }; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d4c2c2da0f49..2cadcc9eeb72 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10165,6 +10165,8 @@ let perf-tools = callPackage ../os-specific/linux/perf-tools { }; + pipes = callPackage ../misc/screensavers/pipes { }; + pipework = callPackage ../os-specific/linux/pipework { }; plymouth = callPackage ../os-specific/linux/plymouth { };