3
0
Fork 0
forked from mirrors/nixpkgs

clerk: init at 2016-10-14

fixes #19505
This commit is contained in:
Anders Papitto 2016-10-12 22:07:43 -07:00 committed by Jörg Thalheim
parent 47e61969b8
commit ffb0d1158f
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, makeWrapper, rofi, mpc_cli, perl,
utillinux, pythonPackages, libnotify }:
stdenv.mkDerivation {
name = "clerk-unstable-2016-10-14";
src = fetchFromGitHub {
owner = "carnager";
repo = "clerk";
rev = "875963bcae095ac1db174627183c76ebe165f787";
sha256 = "0y045my65hr3hjyx13jrnyg6g3wb41phqb1m7azc4l6vx6r4124b";
};
buildInputs = [ makeWrapper pythonPackages.mpd2 ];
buildPhase = ''
echo skipping build phase...
'';
installPhase = ''
DESTDIR=$out PREFIX=/ make install
wrapProgram $out/bin/clerk $out/bin/clerk \
--prefix PATH : "${stdenv.lib.makeBinPath [ rofi mpc_cli perl utillinux libnotify ]}"
'';
meta = with stdenv.lib; {
description = "An MPD client built on top of rofi";
homepage = https://github.com/carnager/clerk;
license = licenses.mit;
maintainers = with maintainers; [ anderspapitto ];
};
}

View file

@ -13676,6 +13676,8 @@ in
mpc_cli = callPackage ../applications/audio/mpc { };
clerk = callPackage ../applications/audio/clerk { };
ncmpc = callPackage ../applications/audio/ncmpc { };
ncmpcpp = callPackage ../applications/audio/ncmpcpp { };