Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 874 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 deadbeef, 7 gtkmm3, 8 libxmlxx3, 9}: 10 11stdenv.mkDerivation { 12 pname = "deadbeef-lyricbar-plugin"; 13 version = "unstable-2019-01-29"; 14 15 src = fetchFromGitHub { 16 owner = "C0rn3j"; 17 repo = "deadbeef-lyricbar"; 18 rev = "8f99b92ef827c451c43fc7dff38ae4f15c355e8e"; 19 sha256 = "108hx5530f4xm8p9m2bk79nq7jkhcj39ad3vmxb2y6h6l2zv5kwl"; 20 }; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ 24 deadbeef 25 gtkmm3 26 libxmlxx3 27 ]; 28 29 NIX_CFLAGS_COMPILE = "-Wno-incompatible-pointer-types"; 30 31 buildFlags = [ "gtk3" ]; 32 33 meta = with lib; { 34 description = "Plugin for DeaDBeeF audio player that fetches and shows the songs lyrics"; 35 homepage = "https://github.com/C0rn3j/deadbeef-lyricbar"; 36 license = licenses.mit; 37 maintainers = [ maintainers.jtojnar ]; 38 platforms = platforms.linux; 39 }; 40}