1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/development/tools/knightos/mktiupgrade/default.nix
Ben Siraphob d03a9c48fb knightos: reduce build time dependency graph
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.
2021-02-17 19:21:22 +07:00

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;
};
}