nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 1b482e4e399f766cf8241c9b70fc7a329d1546a8
parent 625c106e8d515781b8f7cafeed6b0b8c27855e4b
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun,  5 Mar 2023 12:24:51 +0400

Add bwh

Diffstat:
Mpkgs/default.nix | 3+++
Apkgs/misc/bwh/default.nix | 29+++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -301,6 +301,9 @@ lib.makeScope newScope ( ascii-dash = callPackage ./misc/ascii-dash { }; blink = callPackage ./misc/blink { }; btpd = callPackage ./misc/btpd { }; + bwh = callPackage ./misc/bwh { + inherit (darwin.apple_sdk.frameworks) AppKit; + }; capture2text = libsForQt5.callPackage ./misc/capture2text { }; cfiles = callPackage ./misc/cfiles { }; csvquote = callPackage ./misc/csvquote { }; diff --git a/pkgs/misc/bwh/default.nix b/pkgs/misc/bwh/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchFromGitea, cmake, pkg-config, SDL2, the-foundation, AppKit }: + +stdenv.mkDerivation rec { + pname = "bwh"; + version = "2023-02-05"; + + src = fetchFromGitea { + domain = "git.skyjake.fi"; + owner = "skyjake"; + repo = "bwh"; + rev = "4b13d98f9aac38455ab1db9313af33211edd6ea0"; + hash = "sha256-oEIctSJEBxHuL6pBwbAb9PrIDcpMwYmjMIkpqhW+McY="; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + + buildInputs = [ SDL2 the-foundation ] ++ lib.optional stdenv.isDarwin AppKit; + + #cmakeFlags = [ "-Dthe_Foundation_DIR=${the-foundation}/lib/cmake/the_Foundation" ]; + + meta = with lib; { + description = "Bitwise Harmony - simple synth tracker"; + homepage = "https://git.skyjake.fi/skyjake/bwh"; + license = licenses.bsd2; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.unix; + broken = stdenv.isDarwin; # AppKit 10.15 required + }; +}