nixpkgs/pkgs/tools/audio/opl3bankeditor/default.nix

28 lines
686 B
Nix
Raw Normal View History

{ stdenv, mkDerivation, fetchFromGitHub, cmake, qttools, alsaLib }:
2019-02-10 19:57:16 +00:00
mkDerivation rec {
2020-08-06 06:53:07 +00:00
version = "1.5.1";
2019-02-10 19:57:16 +00:00
pname = "OPL3BankEditor";
src = fetchFromGitHub {
owner = "Wohlstand";
repo = pname;
2019-03-20 17:09:39 +00:00
rev = "v${version}";
2020-08-06 06:53:07 +00:00
sha256 = "1g59qrkcm4xnyxx0s2x28brqbf2ix6vriyx12pcdvfhhcdi55hxh";
2019-02-10 19:57:16 +00:00
fetchSubmodules = true;
};
buildInputs = [
alsaLib qttools
];
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "A small cross-platform editor of the OPL3 FM banks of different formats";
homepage = src.meta.homepage;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
};
}