2021-01-25 08:26:54 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake, qttools, alsaLib }:
|
2019-02-10 19:57:16 +00:00
|
|
|
|
2019-08-13 05:31:05 +01:00
|
|
|
mkDerivation rec {
|
2020-08-06 07:53:07 +01: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 07:53:07 +01:00
|
|
|
sha256 = "1g59qrkcm4xnyxx0s2x28brqbf2ix6vriyx12pcdvfhhcdi55hxh";
|
2019-02-10 19:57:16 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsaLib qttools
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-02-10 19:57:16 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|