evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / bi / bitmeter / package.nix
blob9ae4bd7e79fbf9940c271f091e3fdb6ac390c66d
1 { lib, stdenv, autoreconfHook, fetchurl, libjack2, gtk2, pkg-config }:
3 stdenv.mkDerivation rec {
4   pname = "bitmeter";
5   version = "1.2";
7   src = fetchurl {
8     url = "https://devel.tlrmx.org/audio/source/${pname}-${version}.tar.gz";
9     sha256 = "09ck2gxqky701dc1p0ip61rrn16v0pdc7ih2hc2sd63zcw53g2a7";
10   };
12   nativeBuildInputs = [ autoreconfHook pkg-config ];
13   buildInputs = [ libjack2 gtk2 ];
15   patches = [
16     (fetchurl {
17       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch";
18       sha256 = "021mz6933iw7mpk6b9cbjr8naj6smbq1hwqjszlyx72qbwrrid7k";
19     })
20   ];
22   meta = with lib; {
23     homepage = "http://devel.tlrmx.org/audio/bitmeter/";
24     description = "Also known as jack bitscope. Useful to detect denormals";
25     license = licenses.gpl2;
26     maintainers = [ maintainers.magnetophon ];
27     platforms = platforms.linux;
28     mainProgram = "bitmeter";
29   };