From 08184028fcc16d8c7e1b9291b836e14241ee372f Mon Sep 17 00:00:00 2001 From: Evan Richter Date: Fri, 9 Jun 2023 16:28:25 -0400 Subject: [PATCH 1/2] maintainers: adding evanrichter --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index b0395c42dcd9..c29fd2375125 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4946,6 +4946,12 @@ githubId = 1847524; name = "Evan Stoll"; }; + evanrichter = { + email = "evanjrichter@gmail.com"; + github = "evanrichter"; + githubId = 330292; + name = "Evan Richter"; + }; evax = { email = "nixos@evax.fr"; github = "evax"; From bb50a8ecebbcd09aa82ccc3a3da0a423bb212f44 Mon Sep 17 00:00:00 2001 From: Evan Richter Date: Fri, 9 Jun 2023 17:02:11 -0400 Subject: [PATCH 2/2] maskromtool: init at v2023-05-30 --- pkgs/tools/graphics/maskromtool/default.nix | 43 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 45 insertions(+) create mode 100644 pkgs/tools/graphics/maskromtool/default.nix diff --git a/pkgs/tools/graphics/maskromtool/default.nix b/pkgs/tools/graphics/maskromtool/default.nix new file mode 100644 index 000000000000..9f0978c3e99c --- /dev/null +++ b/pkgs/tools/graphics/maskromtool/default.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, qtbase +, qt6 +, wrapQtAppsHook +}: + +stdenv.mkDerivation rec { + pname = "maskromtool"; + version = "2023-05-30"; + + src = fetchFromGitHub { + owner = "travisgoodspeed"; + repo = "maskromtool"; + rev = "v${version}"; + hash = "sha256-HiP9igrq9rmW7MxdTdOsJ86j/Ccxb2lFTaIJfyUW7Bo="; + }; + + buildInputs = [ + qtbase + qt6.qtcharts + qt6.qttools + ]; + + nativeBuildInputs = [ + cmake + wrapQtAppsHook + ]; + + meta = { + description = "A CAD tool for extracting bits from Mask ROM photographs"; + homepage = "https://github.com/travisgoodspeed/maskromtool"; + license = [ + lib.licenses.beerware + lib.licenses.gpl1Plus + ]; + maintainers = [ + lib.maintainers.evanrichter + ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c67d4fb18d51..a64e26e45a7a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9398,6 +9398,8 @@ with pkgs; mask = callPackage ../development/tools/mask { }; + maskromtool = qt6Packages.callPackage ../tools/graphics/maskromtool { }; + mathpix-snipping-tool = callPackage ../tools/misc/mathpix-snipping-tool { }; matrix-conduit = callPackage ../servers/matrix-conduit { };