Merge pull request #53662 from gnidorah/opl3bankeditor

opl3bankeditor, opn2bankeditor: init
This commit is contained in:
Elis Hirwing 2019-02-11 07:57:31 +01:00 committed by GitHub
commit 3e50fba209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -4645,6 +4645,10 @@ in
olsrd = callPackage ../tools/networking/olsrd { }; 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 {}; os-prober = callPackage ../tools/misc/os-prober {};
osl = callPackage ../development/compilers/osl { }; osl = callPackage ../development/compilers/osl { };