53 lines
833 B
Nix
53 lines
833 B
Nix
{ alsa-lib
|
|
, autoreconfHook
|
|
, fetchFromGitHub
|
|
, gtk3
|
|
, json-glib
|
|
, lib
|
|
, libpulseaudio
|
|
, libsamplerate
|
|
, libsndfile
|
|
, libzip
|
|
, pkg-config
|
|
, stdenv
|
|
, zlib
|
|
}:
|
|
|
|
let
|
|
version = "3.0.1";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit version;
|
|
|
|
pname = "elektroid";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dagargo";
|
|
repo = "elektroid";
|
|
rev = version;
|
|
sha256 = "sha256-Qv4jvk6N0IMgYGCPWNYGDZJKGA+UPzhHeYfSrkq5hy4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|