nixpkgs/pkgs/tools/graphics/maskromtool/default.nix
2024-07-15 01:16:34 +00:00

44 lines
761 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, qt6
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "maskromtool";
version = "2024-07-14";
src = fetchFromGitHub {
owner = "travisgoodspeed";
repo = "maskromtool";
rev = "v${version}";
hash = "sha256-BPmjoD7LnY6RhLKBhq3oP3w6LXl+FrG+fLWYd4Wstno=";
};
buildInputs = [
qtbase
qt6.qtcharts
qt6.qttools
];
nativeBuildInputs = [
cmake
wrapQtAppsHook
];
meta = {
description = "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
];
};
}