mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
d03a9c48fb
Using asciidoc-full was unnecessary to build KnightOS-related packages since only the a2x command matters. This change makes cross-compilation far more noticeably faster. Closure size for each package reduced from around 7 MB to 2 MB.
28 lines
673 B
Nix
28 lines
673 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, libxslt, asciidoc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mktiupgrade";
|
|
version = "1.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KnightOS";
|
|
repo = "mktiupgrade";
|
|
rev = version;
|
|
sha256 = "15y3rxvv7ipgc80wrvrpksxzdyqr21ywysc9hg6s7d3w8lqdq8dm";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ asciidoc cmake libxslt.bin ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://knightos.org/";
|
|
description = "Makes TI calculator upgrade files from ROM dumps";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ siraben ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|