snd: 24.9 -> 25.0 (#370772)

This commit is contained in:
Weijia Wang
2025-01-05 22:06:20 +01:00
committed by GitHub
3 changed files with 56 additions and 38 deletions
-34
View File
@@ -1,34 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config
, alsa-lib, fftw, gsl, motif, xorg
, CoreServices, CoreMIDI
}:
stdenv.mkDerivation rec {
pname = "snd";
version = "24.9";
src = fetchurl {
url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
sha256 = "sha256-3ETeqOOX9ao7FJIaex0A9WPRYO+yaZ+o8Gkjmxo9bK0=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fftw gsl motif ]
++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices CoreMIDI ]
++ (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 = [ ];
mainProgram = "snd";
};
}
+56
View File
@@ -0,0 +1,56 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
alsa-lib,
fftw,
gsl,
motif,
xorg,
}:
stdenv.mkDerivation rec {
pname = "snd";
version = "25.0";
src = fetchurl {
url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
hash = "sha256-WJ5/XBqwV19ZoJufz2gMCMsmJfuKEPgwX/YveYp7j4s=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs =
[
fftw
gsl
motif
]
++ lib.optionals stdenv.hostPlatform.isLinux [
alsa-lib
]
++ (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 = [ ];
mainProgram = "snd";
};
}
-4
View File
@@ -15303,10 +15303,6 @@ with pkgs;
smartdeblur = libsForQt5.callPackage ../applications/graphics/smartdeblur { };
snd = darwin.apple_sdk_11_0.callPackage ../applications/audio/snd {
inherit (darwin.apple_sdk_11_0.frameworks) CoreServices CoreMIDI;
};
soci = callPackage ../development/libraries/soci { };
socialscan = with python3.pkgs; toPythonApplication socialscan;