nixpkgs/pkgs/applications/audio/sfxr-qt/default.nix

40 lines
780 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
2018-10-30 14:56:57 +03:00
, cmake
, qtbase
, qtquickcontrols2
2018-10-30 14:56:57 +03:00
, SDL
, python3
}:
mkDerivation rec {
pname = "sfxr-qt";
2020-03-15 17:01:22 +03:00
version = "1.3.0";
2018-10-30 14:56:57 +03:00
src = fetchFromGitHub {
owner = "agateau";
repo = "sfxr-qt";
rev = version;
2020-03-15 17:01:22 +03:00
sha256 = "15yjgjl1c5k816mnpc09104zq0ack2a3mjsxmhcik7cmjkfiipr5";
2018-10-30 14:56:57 +03:00
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
(python3.withPackages (pp: with pp; [ pyyaml jinja2 setuptools ]))
2018-10-30 14:56:57 +03:00
];
buildInputs = [
qtbase
qtquickcontrols2
2018-10-30 14:56:57 +03:00
SDL
];
meta = with lib; {
2020-03-15 17:01:22 +03:00
homepage = "https://github.com/agateau/sfxr-qt";
2018-10-30 14:56:57 +03:00
description = "A sound effect generator, QtQuick port of sfxr";
license = licenses.gpl2;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.linux;
};
}