depot/third_party/nixpkgs/pkgs/development/libraries/gmtk/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

32 lines
878 B
Nix

{lib, stdenv, substituteAll, fetchFromGitHub, libtool, pkg-config, intltool, glib, gtk3
, libpulseaudio, mplayer, gnome_mplayer }:
stdenv.mkDerivation rec {
pname = "gmtk";
version = "1.0.9";
src = fetchFromGitHub {
owner = "kdekorte";
repo = "gmtk";
rev = "v${version}";
sha256 = "1zb5m1y1gckal3140gvx31572a6xpccwfmdwa1w5lx2wdq1pwk1i";
};
nativeBuildInputs = [ libtool pkg-config intltool ];
buildInputs = [ glib gtk3 libpulseaudio ];
patches = [
(substituteAll {
src = ./fix-paths.patch;
mplayer = "${mplayer}/bin/mplayer";
})
];
meta = with lib; {
description = "Common functions for gnome-mplayer and gecko-mediaplayer";
homepage = "https://sites.google.com/site/kdekorte2/gnomemplayer";
license = licenses.gpl2;
maintainers = gnome_mplayer.meta.maintainers;
platforms = platforms.linux;
};
}