mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
2854b32765
Also updated the homepage URL. Upstream has removed GTK support in favour of motif (I know!). snd's README mentions a bunch of supported Unix platforms, so constraining this to just Linux is wrong.
31 lines
725 B
Nix
31 lines
725 B
Nix
{ lib, stdenv, fetchurl, pkg-config
|
|
, alsaLib, fftw, gsl, motif, xorg
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "snd";
|
|
version = "21.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
|
|
sha256 = "1jxvpgx1vqa6bwdzlzyzrjn2swjf9nfhzi9r1r96ivi0870vvjk3";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ alsaLib fftw gsl motif ]
|
|
++ (with xorg; [ libXext libXft libXpm libXt ]);
|
|
|
|
configureFlags = [ "--with-motif" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Sound editor";
|
|
homepage = "https://ccrma.stanford.edu/software/snd/";
|
|
platforms = platforms.unix;
|
|
license = licenses.free;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|