tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
vimpc: refactor and adopt
Pascal Wittmann
10 years ago
3eafad1a
2bcd1dff
+12
-17
1 changed file
expand all
collapse all
unified
split
pkgs
applications
audio
vimpc
default.nix
+12
-17
pkgs/applications/audio/vimpc/default.nix
···
1
1
-
{ stdenv, fetchurl, autoconf, automake, mpd_clientlib, ncurses, pcre, pkgconfig, taglib }:
1
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, mpd_clientlib, ncurses, pcre, pkgconfig
2
2
+
, taglib }:
2
3
3
4
stdenv.mkDerivation rec {
4
5
version = "0.09.0";
5
6
name = "vimpc-${version}";
6
7
7
7
-
src = fetchurl {
8
8
-
url = "https://github.com/boysetsfrog/vimpc/archive/v${version}.tar.gz";
9
9
-
sha256 = "13eb229a5e9eee491765ee89f7fe6a38140a41a01434b117da3869d725c15706";
8
8
+
src = fetchFromGitHub {
9
9
+
owner = "boysetsfrog";
10
10
+
repo = "vimpc";
11
11
+
rev = "v${version}";
12
12
+
sha256 = "1z9yx2pz84lyng1ig9y4z6pdalwxb80ig7nnzhqfy3pl36hq6shi";
10
13
};
11
14
12
12
-
buildInputs = [ autoconf
13
13
-
automake
14
14
-
mpd_clientlib
15
15
-
ncurses
16
16
-
pcre
17
17
-
pkgconfig
18
18
-
taglib
19
19
-
];
20
20
-
21
21
-
preConfigure = "./autogen.sh";
15
15
+
buildInputs = [ autoreconfHook mpd_clientlib ncurses pcre pkgconfig taglib ];
22
16
23
17
postInstall = ''
24
18
mkdir -p $out/etc
25
19
cp doc/vimpcrc.example $out/etc
26
20
'';
27
21
28
28
-
meta = {
22
22
+
meta = with stdenv.lib; {
29
23
description = "A vi/vim inspired client for the Music Player Daemon (mpd)";
30
24
homepage = https://github.com/boysetsfrog/vimpc;
31
31
-
license = stdenv.lib.licenses.gpl3;
32
32
-
platforms = stdenv.lib.platforms.linux;
25
25
+
license = licenses.gpl3;
26
26
+
platforms = platforms.linux;
27
27
+
maintainers = with maintainers; [ pSub ];
33
28
};
34
29
}