pell: init at 0.0.1

+41
+39
pkgs/applications/misc/pell/default.nix
··· 1 + { stdenv, fetchFromGitHub, scsh, sox, libnotify }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "pell"; 5 + version = "0.0.1"; 6 + name = "${pname}-${version}"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "ebzzry"; 10 + repo = pname; 11 + rev = "3f95341eb9439c7a6be1f3c6366c0552ab8208f0"; 12 + sha256 = "183aj3ys080g2kahl8x8rkhzlsb6h5ls9xm1v2kasfbn1pi5i6nn"; 13 + }; 14 + 15 + installPhase = '' 16 + mkdir -p $out/bin 17 + mkdir -p $out/share 18 + cp pell $out/bin 19 + cp resources/notification.mp3 $out/share 20 + chmod +x $out/bin/pell 21 + ''; 22 + 23 + postFixup = '' 24 + substituteInPlace $out/bin/pell --replace "/usr/bin/env scsh" "${scsh}/bin/scsh" 25 + substituteInPlace $out/bin/pell --replace "(play " "(${sox}/bin/play " 26 + substituteInPlace $out/bin/pell --replace "(notify-send " "(${libnotify}/bin/notify-send " 27 + substituteInPlace $out/bin/pell --replace "/usr/share/pell/notification.mp3" "$out/share/notification.mp3" 28 + ''; 29 + 30 + meta = with stdenv.lib; { 31 + homepage = https://github.com/ebzzry/pell; 32 + description = "A simple periodic host monitor using ping"; 33 + license = licenses.mit; 34 + maintainers = [ maintainers.ebzzry ]; 35 + platforms = platforms.unix; 36 + }; 37 + 38 + dontBuild = true; 39 + }
+2
pkgs/top-level/all-packages.nix
··· 2718 2718 2719 2719 parted = callPackage ../tools/misc/parted { hurd = null; }; 2720 2720 2721 + pell = callPackage ../applications/misc/pell { }; 2722 + 2721 2723 pitivi = callPackage ../applications/video/pitivi { 2722 2724 gst = gst_all_1 // 2723 2725 { gst-plugins-bad = gst_all_1.gst-plugins-bad.overrideDerivation