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 6074b369976e..4f7baaf98e28 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10167,6 +10167,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 { };