mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
33 lines
876 B
Nix
33 lines
876 B
Nix
{stdenv, substituteAll, fetchFromGitHub, libtool, pkgconfig, 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 pkgconfig intltool ];
|
|
buildInputs = [ glib gtk3 libpulseaudio ];
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./fix-paths.patch;
|
|
mplayer = "${mplayer}/bin/mplayer";
|
|
})
|
|
];
|
|
|
|
meta = with stdenv.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;
|
|
};
|
|
}
|