1 { stdenv, lib, fetchFromGitHub, boost, cmake, git }:
3 stdenv.mkDerivation rec {
4 pname = "openttd-grfcodec";
5 version = "unstable-2021-03-10";
7 src = fetchFromGitHub {
10 rev = "045774dee7cab1a618a3e0d9b39bff78a12b6efa";
11 sha256 = "0b4xnnkqc01d3r834lhkq744ymar6c8iyxk51wc4c7hvz0vp9vmy";
14 buildInputs = [boost];
15 nativeBuildInputs = [cmake git];
19 cp -a grfcodec grfid grfstrip nforenum $out/bin/
23 description = "Low-level (dis)assembler and linter for OpenTTD GRF files";
24 homepage = "http://openttd.org/";
25 license = licenses.gpl2Plus;
26 maintainers = with maintainers; [ ToxicFrog ];