Unverified Commit e6926e0b authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #236922 from evanrichter/maskromtool

maskromtool: init
parents dabcf529 bb50a8ec
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+43 −0
Original line number Diff line number Diff line
{ 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
    ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };