Unverified Commit 517b3a8c authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

padthv1: 0.9.23 -> 1.3.2 (#409179)

parents bf3c0d48 5903fd2a
Loading
Loading
Loading
Loading
+17 −12
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  cmake,
  pkg-config,
  libjack2,
  alsa-lib,
@@ -9,18 +11,23 @@
  lv2,
  qt5,
  fftwFloat,
  mkDerivation,
}:

mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "padthv1";
  version = "0.9.23";
  version = "1.3.2";

  src = fetchurl {
    url = "mirror://sourceforge/padthv1/${pname}-${version}.tar.gz";
    sha256 = "sha256-9yFfvlskOYnGraou2S3Qffl8RoYJqE0wnDlOP8mxQgg=";
    url = "mirror://sourceforge/padthv1/padthv1-${finalAttrs.version}.tar.gz";
    hash = "sha256-sXpJjD79+rLrWHwpAxACjR+8KVGbQss8qKGMTN7nb9M=";
  };

  nativeBuildInputs = [
    pkg-config
    cmake
    qt5.wrapQtAppsHook
  ];

  buildInputs = [
    libjack2
    alsa-lib
@@ -32,14 +39,12 @@ mkDerivation rec {
    fftwFloat
  ];

  nativeBuildInputs = [ pkg-config ];

  meta = with lib; {
  meta = {
    description = "polyphonic additive synthesizer";
    mainProgram = "padthv1_jack";
    homepage = "http://padthv1.sourceforge.net/";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = [ maintainers.magnetophon ];
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.linux;
    maintainers = [ lib.maintainers.magnetophon ];
  };
}
})