4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
29 lines
844 B
Nix
29 lines
844 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, intltool, pkgconfig, 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 pkgconfig 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;
|
|
};
|
|
}
|