mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
44 lines
763 B
Nix
44 lines
763 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, qtbase
|
|
, qt6
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "maskromtool";
|
|
version = "2023-07-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "travisgoodspeed";
|
|
repo = "maskromtool";
|
|
rev = "v${version}";
|
|
hash = "sha256-AUZh1GAGN5RUXyK+YvQfhAp124bSI0LvCSaTRutLuE4=";
|
|
};
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|