python313Packages.yalexs: 8.10.0 -> 8.11.0 (#375890)
[NixPkgs.git] / pkgs / by-name / bi / bitmeter / package.nix
blob98258c12a3c6f123f52fadf38ea10941d838c04c
2   lib,
3   stdenv,
4   autoreconfHook,
5   fetchurl,
6   libjack2,
7   gtk2,
8   pkg-config,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "bitmeter";
13   version = "1.2";
15   src = fetchurl {
16     url = "https://devel.tlrmx.org/audio/source/${pname}-${version}.tar.gz";
17     sha256 = "09ck2gxqky701dc1p0ip61rrn16v0pdc7ih2hc2sd63zcw53g2a7";
18   };
20   nativeBuildInputs = [
21     autoreconfHook
22     pkg-config
23   ];
24   buildInputs = [
25     libjack2
26     gtk2
27   ];
29   patches = [
30     (fetchurl {
31       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch?id=dec60bb6900d6ebdaaa6aa1dcb845b30b739f9b5";
32       sha256 = "021mz6933iw7mpk6b9cbjr8naj6smbq1hwqjszlyx72qbwrrid7k";
33     })
34   ];
36   meta = with lib; {
37     homepage = "http://devel.tlrmx.org/audio/bitmeter/";
38     description = "Also known as jack bitscope. Useful to detect denormals";
39     license = licenses.gpl2;
40     maintainers = [ maintainers.magnetophon ];
41     platforms = platforms.linux;
42     mainProgram = "bitmeter";
43   };