2021-01-25 00:26:54 -08:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake, qttools, alsaLib }:
|
2019-02-10 11:57:16 -08:00
|
|
|
|
2019-08-12 21:31:05 -07:00
|
|
|
mkDerivation rec {
|
2020-08-05 23:53:07 -07:00
|
|
|
version = "1.5.1";
|
2019-02-10 11:57:16 -08:00
|
|
|
pname = "OPL3BankEditor";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Wohlstand";
|
|
|
|
repo = pname;
|
2019-03-20 10:09:39 -07:00
|
|
|
rev = "v${version}";
|
2020-08-05 23:53:07 -07:00
|
|
|
sha256 = "1g59qrkcm4xnyxx0s2x28brqbf2ix6vriyx12pcdvfhhcdi55hxh";
|
2019-02-10 11:57:16 -08:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsaLib qttools
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-02-10 11:57:16 -08: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 ];
|
|
|
|
};
|
|
|
|
}
|