ncmpc: 0.24 -> 0.27
Upstream has moved to github as well.
This commit is contained in:
parent
207ac3c7b8
commit
bcf9af560a
@ -1,19 +1,27 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, ncurses, mpd_clientlib, libintlOrEmpty }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, mpd_clientlib, libintlOrEmpty }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.24";
|
|
||||||
name = "ncmpc-${version}";
|
name = "ncmpc-${version}";
|
||||||
|
version = "0.27";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.musicpd.org/download/ncmpc/0/ncmpc-${version}.tar.xz";
|
owner = "MusicPlayerDaemon";
|
||||||
sha256 = "1sf3nirs3mcx0r5i7acm9bsvzqzlh730m0yjg6jcyj8ln6r7cvqf";
|
repo = "ncmpc";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0sfal3wadqvy6yas4xzhw35awdylikci8kbdcmgm4l2afpmc1lrr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib ncurses mpd_clientlib ]
|
buildInputs = [ glib ncurses mpd_clientlib ];
|
||||||
++ libintlOrEmpty;
|
# ++ libintlOrEmpty;
|
||||||
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
|
# without this, po/Makefile.in.in is not being created
|
||||||
|
preAutoreconf = ''
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-colors"
|
"--enable-colors"
|
||||||
"--enable-lyrics-screen"
|
"--enable-lyrics-screen"
|
||||||
|
Loading…
Reference in New Issue
Block a user