Merge pull request #53662 from gnidorah/opl3bankeditor
opl3bankeditor, opn2bankeditor: init
This commit is contained in:
commit
3e50fba209
27
pkgs/tools/audio/opl3bankeditor/default.nix
Normal file
27
pkgs/tools/audio/opl3bankeditor/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
19
pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix
Normal file
19
pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix
Normal 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
|
||||||
|
'';
|
||||||
|
})
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user