uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
66
pkgs/applications/audio/gmpc/default.nix
Normal file
66
pkgs/applications/audio/gmpc/default.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, libtool
|
||||
, intltool
|
||||
, pkg-config
|
||||
, glib
|
||||
, gtk2
|
||||
, curl
|
||||
, libmpdclient
|
||||
, libsoup
|
||||
, gob2
|
||||
, vala
|
||||
, libunique
|
||||
, libSM
|
||||
, libICE
|
||||
, sqlite
|
||||
, hicolor-icon-theme
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gmpc";
|
||||
version = "11.8.16";
|
||||
|
||||
libmpd = stdenv.mkDerivation {
|
||||
name = "libmpd-11.8.17";
|
||||
src = fetchurl {
|
||||
url = "http://download.sarine.nl/Programs/gmpc/11.8/libmpd-11.8.17.tar.gz";
|
||||
sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
|
||||
};
|
||||
patches = [ ./libmpd-11.8.17-remove-strndup.patch ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib ];
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
|
||||
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ];
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk2
|
||||
curl
|
||||
libmpdclient
|
||||
libsoup
|
||||
libunique
|
||||
libmpd
|
||||
libSM
|
||||
libICE
|
||||
sqlite
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gmpclient.org";
|
||||
description = "A GTK2 frontend for Music Player Daemon";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
# TODO: what is this libmpd derivation embedded above?
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h
|
||||
index c84c3a4..51be441 100644
|
||||
--- a/src/libmpd-internal.h
|
||||
+++ b/src/libmpd-internal.h
|
||||
@@ -206,10 +206,6 @@ int mpd_unlock_conn(MpdObj *mi);
|
||||
MpdData * mpd_misc_sort_tag_list(MpdData *data);
|
||||
|
||||
|
||||
-#ifndef HAVE_STRNDUP
|
||||
-char * strndup (const char *s, size_t n);
|
||||
-#endif
|
||||
-
|
||||
int mpd_server_get_allowed_commands(MpdObj *mi);
|
||||
typedef enum _MpdSearchType {
|
||||
MPD_SEARCH_TYPE_NONE,
|
||||
Loading…
Add table
Add a link
Reference in a new issue