1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Merge pull request #49451 from fgaz/sfxr-qt/init

sfxr-qt: init at 1.2.0
This commit is contained in:
Samuel Dionne-Riel 2018-11-12 04:21:40 +00:00 committed by GitHub
commit 49df3150c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub
, cmake
, qtbase, qtquickcontrols2
, SDL
, python3
}:
stdenv.mkDerivation rec {
name = "sfxr-qt-${version}";
version = "1.2.0";
src = fetchFromGitHub {
owner = "agateau";
repo = "sfxr-qt";
rev = version;
sha256 = "1ndw1dcmzvkrc6gnb0y057zb4lqlhwrv18jlbx26w3s4xrbxqr41";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
(python3.withPackages (pp: with pp; [ pyyaml jinja2 ]))
];
buildInputs = [
qtbase qtquickcontrols2
SDL
];
configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out";
meta = with stdenv.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;
};
}

View file

@ -18926,6 +18926,8 @@ with pkgs;
setbfree = callPackage ../applications/audio/setbfree { };
sfxr-qt = libsForQt5.callPackage ../applications/audio/sfxr-qt { };
shadowfox = callPackage ../tools/networking/shadowfox { };
shfmt = callPackage ../tools/text/shfmt { };