summary refs log tree commit diff
path: root/pkgs/development/interpreters/yex-lang/default.nix
blob: d01aa730a44dabf6cbd8bea92790a2293a730f8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "yex-lang";
  version = "0.pre+date=2022-05-10";

  src = fetchFromGitHub {
    owner = "nonamescm";
    repo = "yex-lang";
    rev = "866c4decbb9340f5af687b145e2c4f47fcbee786";
    hash = "sha256-sxzkZ2Rhn3HvZIfjnJ6Z2au/l/jV5705ecs/X3Iah6k=";
  };

  cargoSha256 = "sha256-nX5FoPAk50wt0CXskyg7jQeHvD5YtBNnCe0CVOGXTMI=";

  meta = with lib; {
    homepage = "https://github.com/nonamescm/yex-lang";
    description = "A functional scripting language written in rust";
    license = licenses.mit;
    maintainers = with maintainers; [ AndersonTorres ];
    mainProgram = "yex";
    platforms = platforms.unix;
  };
}