2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2022-01-22 01:22:15 +00:00
|
|
|
, extra-cmake-modules
|
2020-04-24 23:36:52 +00:00
|
|
|
, qtbase
|
|
|
|
, qtquickcontrols2
|
|
|
|
, SDL
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "sfxr-qt";
|
2022-01-22 01:22:15 +00:00
|
|
|
version = "1.4.0";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "agateau";
|
|
|
|
repo = "sfxr-qt";
|
|
|
|
rev = version;
|
2022-01-22 01:22:15 +00:00
|
|
|
sha256 = "sha256-Mn+wcwu70BwsTLFlc12sOOe6U1AJ8hR7bCIPlPnCooE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2022-01-22 01:22:15 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2022-01-22 01:22:15 +00:00
|
|
|
extra-cmake-modules
|
2020-04-24 23:36:52 +00:00
|
|
|
(python3.withPackages (pp: with pp; [ pyyaml jinja2 setuptools ]))
|
|
|
|
];
|
2022-01-22 01:22:15 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtquickcontrols2
|
|
|
|
SDL
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|