Skip to content

Commit

Permalink
Merge pull request #49451 from fgaz/sfxr-qt/init
Browse files Browse the repository at this point in the history
sfxr-qt: init at 1.2.0
  • Loading branch information
samueldr authored Nov 12, 2018
2 parents 242282d + 0306277 commit 49df315
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/applications/audio/sfxr-qt/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 49df315

Please sign in to comment.