summary refs log tree commit diff
path: root/pkgs/applications/audio/sfxr-qt/default.nix
diff options
context:
space:
mode:
authorFrancesco Gazzetta <francygazz@gmail.com>2018-10-30 12:56:57 +0100
committerFrancesco Gazzetta <francygazz@gmail.com>2018-10-30 13:47:44 +0100
commit03062770972b33703f17cc016b7551d03445e34e (patch)
treecbaef4c78e48ae73c88a63669f3de064e1af8af9 /pkgs/applications/audio/sfxr-qt/default.nix
parentbb3cd002714e098d239d7eb2f018e923ce112222 (diff)
downloadnixpkgs-03062770972b33703f17cc016b7551d03445e34e.tar
nixpkgs-03062770972b33703f17cc016b7551d03445e34e.tar.gz
nixpkgs-03062770972b33703f17cc016b7551d03445e34e.tar.bz2
nixpkgs-03062770972b33703f17cc016b7551d03445e34e.tar.lz
nixpkgs-03062770972b33703f17cc016b7551d03445e34e.tar.xz
nixpkgs-03062770972b33703f17cc016b7551d03445e34e.tar.zst
nixpkgs-03062770972b33703f17cc016b7551d03445e34e.zip
sfxr-qt: init at 1.2.0
Diffstat (limited to 'pkgs/applications/audio/sfxr-qt/default.nix')
-rw-r--r--pkgs/applications/audio/sfxr-qt/default.nix36
1 files changed, 36 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 00000000000..a98d1431d65
--- /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;
+  };
+}
+