2019-09-05 16:22:42 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
2018-10-30 11:56:57 +00:00
|
|
|
, cmake
|
2019-09-05 16:22:42 +01:00
|
|
|
, qtbase
|
|
|
|
, qtquickcontrols2
|
2018-10-30 11:56:57 +00:00
|
|
|
, SDL
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
2019-09-05 16:22:42 +01:00
|
|
|
mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sfxr-qt";
|
2018-10-30 11:56:57 +00:00
|
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "agateau";
|
|
|
|
repo = "sfxr-qt";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1ndw1dcmzvkrc6gnb0y057zb4lqlhwrv18jlbx26w3s4xrbxqr41";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2019-09-16 09:19:54 +01:00
|
|
|
(python3.withPackages (pp: with pp; [ pyyaml jinja2 setuptools ]))
|
2018-10-30 11:56:57 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2019-09-05 16:22:42 +01:00
|
|
|
qtbase
|
|
|
|
qtquickcontrols2
|
2018-10-30 11:56:57 +00:00
|
|
|
SDL
|
|
|
|
];
|
|
|
|
configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out";
|
|
|
|
|
2019-09-05 16:22:42 +01:00
|
|
|
meta = with lib; {
|
2018-10-30 11:56:57 +00:00
|
|
|
homepage = https://github.com/agateau/sfxr-qt;
|
|
|
|
description = "A sound effect generator, QtQuick port of sfxr";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|