ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
24 lines
662 B
Nix
24 lines
662 B
Nix
{lib, stdenv, fetchurl, gtk2, pkg-config}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xoscope-2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xoscope/${name}.tgz";
|
|
sha256 = "00xlvvqyw6l1ljbsx1vgx2v1jfh0xacz1a0yhq1dj6yxf5wh58x8";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
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 = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [viric];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|