2023-03-02 15:50:07 +01:00
|
|
|
{ alsa-lib
|
|
|
|
, autoreconfHook
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gtk3
|
|
|
|
, json-glib
|
|
|
|
, lib
|
|
|
|
, libpulseaudio
|
|
|
|
, libsamplerate
|
|
|
|
, libsndfile
|
|
|
|
, libzip
|
|
|
|
, pkg-config
|
|
|
|
, stdenv
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2024-01-30 16:31:31 +01:00
|
|
|
version = "3.0.1";
|
2023-03-02 15:50:07 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit version;
|
|
|
|
|
2023-10-27 14:00:58 +02:00
|
|
|
pname = "elektroid";
|
2023-03-02 15:50:07 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dagargo";
|
|
|
|
repo = "elektroid";
|
|
|
|
rev = version;
|
2024-01-30 16:31:31 +01:00
|
|
|
sha256 = "sha256-Qv4jvk6N0IMgYGCPWNYGDZJKGA+UPzhHeYfSrkq5hy4=";
|
2023-03-02 15:50:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsa-lib
|
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
libpulseaudio
|
|
|
|
libsamplerate
|
|
|
|
libsndfile
|
|
|
|
libzip
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Sample and MIDI device manager";
|
|
|
|
homepage = "https://github.com/dagargo/elektroid";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ camelpunch ];
|
|
|
|
};
|
|
|
|
}
|