Merge pull request #118933 from alyssais/snd

snd: 20.3 -> 21.1; broaden platforms; parallelize
This commit is contained in:
Sandro 2021-04-10 17:16:29 +02:00 committed by GitHub
commit b87413a1e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,30 +1,30 @@
{ lib, stdenv, fetchurl, pkg-config { lib, stdenv, fetchurl, pkg-config
, gtk2, alsaLib , alsaLib, fftw, gsl, motif, xorg
, fftw, gsl
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "snd-20.3"; pname = "snd";
version = "21.1";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/snd/${name}.tar.gz"; url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
sha256 = "016slh34gb6qqb38m8k9yg48rbhc5p12084szcwvanhh5v7fc7mk"; sha256 = "1jxvpgx1vqa6bwdzlzyzrjn2swjf9nfhzi9r1r96ivi0870vvjk3";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [ alsaLib fftw gsl motif ]
gtk2 alsaLib ++ (with xorg; [ libXext libXft libXpm libXt ]);
fftw gsl
];
meta = { configureFlags = [ "--with-motif" ];
enableParallelBuilding = true;
meta = with lib; {
description = "Sound editor"; description = "Sound editor";
homepage = "http://ccrma.stanford.edu/software/snd"; homepage = "https://ccrma.stanford.edu/software/snd/";
platforms = lib.platforms.linux; platforms = platforms.unix;
license = lib.licenses.free; license = licenses.free;
maintainers = with lib.maintainers; [ ]; maintainers = with maintainers; [ ];
}; };
} }