mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
29 lines
778 B
Nix
29 lines
778 B
Nix
{ lib, stdenv, fetchurl, SDL, libjack2, libGLU, libGL, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jack_oscrolloscope";
|
|
version = "0.7";
|
|
|
|
src = fetchurl {
|
|
url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
|
|
sha256 = "1pl55in0sj7h5r06n1v91im7d18pplvhbjhjm1fdl39zwnyxiash";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ SDL libjack2 libGLU libGL ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv jack_oscrolloscope $out/bin/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A simple waveform viewer for JACK";
|
|
mainProgram = "jack_oscrolloscope";
|
|
homepage = "http://das.nasophon.de/jack_oscrolloscope";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|