nixpkgs/pkgs/applications/audio/sfxr-qt/default.nix

44 lines
827 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
2018-10-30 11:56:57 +00:00
, cmake
, extra-cmake-modules
, qtbase
, qtquickcontrols2
2018-10-30 11:56:57 +00:00
, SDL
, python3
}:
mkDerivation rec {
pname = "sfxr-qt";
version = "1.4.0";
2018-10-30 11:56:57 +00:00
src = fetchFromGitHub {
owner = "agateau";
repo = "sfxr-qt";
rev = version;
sha256 = "sha256-Mn+wcwu70BwsTLFlc12sOOe6U1AJ8hR7bCIPlPnCooE=";
2018-10-30 11:56:57 +00:00
fetchSubmodules = true;
};
2018-10-30 11:56:57 +00:00
nativeBuildInputs = [
cmake
extra-cmake-modules
(python3.withPackages (pp: with pp; [ pyyaml jinja2 setuptools ]))
2018-10-30 11:56:57 +00:00
];
2018-10-30 11:56:57 +00:00
buildInputs = [
qtbase
qtquickcontrols2
2018-10-30 11:56:57 +00:00
SDL
];
meta = with lib; {
2020-03-15 14:01:22 +00:00
homepage = "https://github.com/agateau/sfxr-qt";
2018-10-30 11:56:57 +00:00
description = "A sound effect generator, QtQuick port of sfxr";
license = licenses.gpl2;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.linux;
};
}