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