opl3bankeditor, opn2bankeditor: init

This commit is contained in:
gnidorah 2019-02-10 22:57:16 +03:00
parent cecec1f744
commit 1cb728d4af
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, cmake, qttools, alsaLib }:
stdenv.mkDerivation rec {
version = "2019-01-12";
pname = "OPL3BankEditor";
src = fetchFromGitHub {
owner = "Wohlstand";
repo = pname;
rev = "a254c923df5b385e140de6ae42cf4908af8728d3";
sha256 = "181zkr2zkv9xy6zijbzqbqf4z6phg98ramzh9hmwi5zcbw68wkqw";
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 ];
};
}

View file

@ -0,0 +1,19 @@
{ stdenv, opl3bankeditor, fetchFromGitHub, fetchpatch }:
opl3bankeditor.overrideAttrs (oldAttrs: rec {
version = "1.3-beta";
pname = "OPN2BankEditor";
src = fetchFromGitHub {
owner = "Wohlstand";
repo = pname;
rev = version;
sha256 = "0blcvqfj1yj6cmm079aw4jdzv3066jxqy9krp268i6cl2b3bmwvw";
fetchSubmodules = true;
};
# to be removed with next release
postInstall = ''
install -Dm755 opn2_bank_editor $out/bin/opn2_bank_editor
'';
})

View file

@ -4662,6 +4662,10 @@ in
olsrd = callPackage ../tools/networking/olsrd { };
opl3bankeditor = libsForQt5.callPackage ../tools/audio/opl3bankeditor { };
opn2bankeditor = callPackage ../tools/audio/opl3bankeditor/opn2bankeditor.nix { };
os-prober = callPackage ../tools/misc/os-prober {};
osl = callPackage ../development/compilers/osl { };