{ fetchFromGitHub, cmake, ninja, stdenv, }: let source = builtins.fromJSON (builtins.readFile ./source.json); in stdenv.mkDerivation { pname = "asar"; version = source.date; src = fetchFromGitHub { owner = "RPGHacker"; repo = "asar"; inherit (source) rev sha256; }; nativeBuildInputs = [cmake ninja]; cmakeDir = "../src"; }