diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2018-11-12 04:21:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 04:21:40 +0000 |
commit | 49df3150c71aee580c9a04c3482ad4b7d0552516 (patch) | |
tree | d0ffed575bce07c59e1d711c63ac7acd4ed94641 | |
parent | 242282d92d3e400ebfce8cd538c62c4f5038e8e1 (diff) | |
parent | 03062770972b33703f17cc016b7551d03445e34e (diff) |
Merge pull request #49451 from fgaz/sfxr-qt/init
sfxr-qt: init at 1.2.0
-rw-r--r-- | pkgs/applications/audio/sfxr-qt/default.nix | 36 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/audio/sfxr-qt/default.nix b/pkgs/applications/audio/sfxr-qt/default.nix new file mode 100644 index 0000000000000..a98d1431d65e4 --- /dev/null +++ b/pkgs/applications/audio/sfxr-qt/default.nix @@ -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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2bc8ec36675a8..9b4f55196e54f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |