mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
wmc-mpris: init at 2019-04-12
This commit is contained in:
parent
161927b1b1
commit
f4e30f87d7
2 changed files with 31 additions and 0 deletions
29
pkgs/applications/misc/web-media-controller/default.nix
Normal file
29
pkgs/applications/misc/web-media-controller/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, glib, pcre, json-glib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "wmc-mpris";
|
||||||
|
version = "unstable-2019-07-24";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "f1u77y";
|
||||||
|
repo = pname;
|
||||||
|
rev = "3b92847c576662732984ad791d6c7899a39f7787";
|
||||||
|
sha256 = "0q19z0zx53pd237x529rif21kliklwzjrdddx8jfr9hgghjv9giq";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
buildInputs = [ glib pcre json-glib ];
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DCHROMIUM_MANIFEST_DESTINATION=${placeholder ''out''}/etc/chromium/native-messaging-hosts"
|
||||||
|
"-DCHROME_MANIFEST_DESTINATION=${placeholder ''out''}/etc/opt/chrome/native-messaging-hosts"
|
||||||
|
"-DFIREFOX_MANIFEST_DESTINATION=${placeholder ''out''}/lib/mozilla/native-messaging-hosts"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/f1u77y/wmc-mpris";
|
||||||
|
description = "MPRIS proxy for usage with 'Web Media Controller' web extension";
|
||||||
|
license = licenses.unlicense;
|
||||||
|
maintainers = with maintainers; [ doronbehar ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -6832,6 +6832,8 @@ in
|
||||||
|
|
||||||
wml = callPackage ../development/web/wml { };
|
wml = callPackage ../development/web/wml { };
|
||||||
|
|
||||||
|
wmc-mpris = callPackage ../applications/misc/web-media-controller { };
|
||||||
|
|
||||||
wol = callPackage ../tools/networking/wol { };
|
wol = callPackage ../tools/networking/wol { };
|
||||||
|
|
||||||
wolf-shaper = callPackage ../applications/audio/wolf-shaper { };
|
wolf-shaper = callPackage ../applications/audio/wolf-shaper { };
|
||||||
|
|
Loading…
Reference in a new issue