11 rustPlatform.buildRustPackage rec {
12 pname = "scryer-prolog";
15 src = fetchFromGitHub {
17 repo = "scryer-prolog";
19 hash = "sha256-0c0MsjrHRitg+5VEHB9/iSuiqcPztF+2inDZa9fQpwU=";
22 cargoHash = "sha256-q8s6HAJhKnMhsgZk5plR+ar3CpLKNqjrD14roDWLwfo=";
24 nativeBuildInputs = [ pkg-config ];
28 ++ lib.optionals stdenv.hostPlatform.isDarwin [
29 darwin.apple_sdk.frameworks.SystemConfiguration
32 CARGO_FEATURE_USE_SYSTEM_LIBS = true;
35 description = "Modern Prolog implementation written mostly in Rust";
36 mainProgram = "scryer-prolog";
37 homepage = "https://github.com/mthom/scryer-prolog";
38 license = with licenses; [ bsd3 ];
39 maintainers = with maintainers; [