mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 08:05:40 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
31 lines
818 B
Nix
31 lines
818 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, mpd_clientlib, ncurses, pcre, pkg-config
|
|
, taglib, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.09.2";
|
|
pname = "vimpc";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "boysetsfrog";
|
|
repo = "vimpc";
|
|
rev = "v${version}";
|
|
sha256 = "0lswzkap2nm7v5h7ppb6a64cb35rajysd09nb204rxgrkij4m6nx";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ mpd_clientlib ncurses pcre taglib curl ];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/etc
|
|
cp doc/vimpcrc.example $out/etc
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A vi/vim inspired client for the Music Player Daemon (mpd)";
|
|
homepage = "https://github.com/boysetsfrog/vimpc";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|