mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
749 B
Nix
28 lines
749 B
Nix
{ stdenv, fetchurl, SDL, libjack2, libGLU_combined, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jack_oscrolloscope";
|
|
version = "0.7";
|
|
|
|
src = fetchurl {
|
|
url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
|
|
sha256 = "1pl55in0sj7h5r06n1v91im7d18pplvhbjhjm1fdl39zwnyxiash";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ SDL libjack2 libGLU_combined ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv jack_oscrolloscope $out/bin/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A simple waveform viewer for JACK";
|
|
homepage = http://das.nasophon.de/jack_oscrolloscope;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|