about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/electronics/xoscope/default.nix
blob: f8a68f31f46415588a463ed9e0c8209bb7612ff7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, fetchurl, gtk2, pkgconfig}:

stdenv.mkDerivation rec {
  name = "xoscope-2.0";

  src = fetchurl {
    url = "mirror://sourceforge/xoscope/${name}.tgz";
    sha256 = "00xlvvqyw6l1ljbsx1vgx2v1jfh0xacz1a0yhq1dj6yxf5wh58x8";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk2 ];

  # from: https://aur.archlinux.org/packages.php?ID=12140&detail=1
  patches = [ ./gtkdepre.diff ];

  meta = {
    description = "Oscilloscope through the sound card";
    homepage = "http://xoscope.sourceforge.net";
    license = stdenv.lib.licenses.gpl2Plus;
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux;
  };
}