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