3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/sfxr-qt/default.nix
Francesco Gazzetta d7d893c17a sfxr-qt: 1.3.0 -> 1.4.0
And some formatting
2022-01-13 15:44:00 +01:00

44 lines
827 B
Nix

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