nixpkgs/pkgs/applications/audio/spek/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
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.
2021-01-19 01:16:25 -08:00

29 lines
846 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, intltool, pkg-config, ffmpeg, wxGTK30-gtk3, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "spek";
version = "unstable-2018-12-29";
src = fetchFromGitHub {
owner = "alexkay";
repo = "spek";
rev = "f071c2956176ad53c7c8059e5c00e694ded31ded";
sha256 = "1l9gj9c1n92zlcjnyjyk211h83dk0idk644xnm5rs7q40p2zliy5";
};
# needed for autoreconfHook
AUTOPOINT="intltoolize --automake --copy";
nativeBuildInputs = [ autoreconfHook intltool pkg-config wrapGAppsHook ];
buildInputs = [ ffmpeg wxGTK30-gtk3 wxGTK30-gtk3.gtk ];
meta = with lib; {
description = "Analyse your audio files by showing their spectrogram";
homepage = "http://spek.cc/";
license = licenses.gpl3;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.all;
};
}