git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #49451 from fgaz/sfxr-qt/init

sfxr-qt: init at 1.2.0

commit49df3150c71aee580c9a04c3482ad4b7d0552516 authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateMon 12 Nov 2018, 04:21 (8 years ago) parent242282d0306277
2 files changed+38
pkgs/applications/audio/sfxr-qt/default.nix+36 pkgs/top-level/all-packages.nix+2
pkgs/applications/audio/sfxr-qt/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, fetchFromGitHub
2+, cmake
3+, qtbase, qtquickcontrols2
4+, SDL
5+, python3
6+}:
7+
8+stdenv.mkDerivation rec {
9+ name = "sfxr-qt-${version}";
10+ version = "1.2.0";
11+ src = fetchFromGitHub {
12+ owner = "agateau";
13+ repo = "sfxr-qt";
14+ rev = version;
15+ sha256 = "1ndw1dcmzvkrc6gnb0y057zb4lqlhwrv18jlbx26w3s4xrbxqr41";
16+ fetchSubmodules = true;
17+ };
18+ nativeBuildInputs = [
19+ cmake
20+ (python3.withPackages (pp: with pp; [ pyyaml jinja2 ]))
21+ ];
22+ buildInputs = [
23+ qtbase qtquickcontrols2
24+ SDL
25+ ];
26+ configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out";
27+
28+ meta = with stdenv.lib; {
29+ homepage = https://github.com/agateau/sfxr-qt;
30+ description = "A sound effect generator, QtQuick port of sfxr";
31+ license = licenses.gpl2;
32+ maintainers = with maintainers; [ fgaz ];
33+ platforms = platforms.linux;
34+ };
35+}
36+
pkgs/top-level/all-packages.nix+2
@@ -18926,6 +18926,8 @@ with pkgs;
1892618926
1892718927 setbfree = callPackage ../applications/audio/setbfree { };
1892818928
18929+ sfxr-qt = libsForQt5.callPackage ../applications/audio/sfxr-qt { };
18930+
1892918931 shadowfox = callPackage ../tools/networking/shadowfox { };
1893018932
1893118933 shfmt = callPackage ../tools/text/shfmt { };