Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 764 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 deadbeef, 6 autoreconfHook, 7 pkg-config, 8 glib, 9}: 10 11let 12 pname = "deadbeef-mpris2-plugin"; 13 version = "1.16"; 14in 15stdenv.mkDerivation { 16 inherit pname version; 17 18 src = fetchFromGitHub { 19 owner = "DeaDBeeF-Player"; 20 repo = pname; 21 rev = "v${version}"; 22 hash = "sha256-f6iHgwLdzQJJEquyuUQGWFfOfpjH/Hxh9IqQ5HkYrog="; 23 }; 24 25 nativeBuildInputs = [ 26 autoreconfHook 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 deadbeef 32 glib 33 ]; 34 35 meta = with lib; { 36 description = "MPRISv2 plugin for the DeaDBeeF music player"; 37 homepage = "https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin/"; 38 license = licenses.gpl2; 39 platforms = platforms.linux; 40 maintainers = [ maintainers.abbradar ]; 41 }; 42}