about summary refs log tree commit diff
path: root/pkgs/development/tools/rust/typeshare/default.nix
blob: 6e96bf72bbad203f0fdcd96085c05f4a7b6bd2e9 (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
{ lib, rustPlatform, fetchCrate }:

rustPlatform.buildRustPackage rec {
  pname = "typeshare";
  version = "1.0.1";

  src = fetchCrate {
    inherit version;
    pname = "typeshare-cli";
    sha256 = "sha256-SbTI7170Oc1e09dv4TvUwByG3qkyAL5YXZ96NzI0FSI=";
  };

  cargoSha256 = "sha256-5EhXw2WcRJqCbdMvOtich9EYQqi0uwCH1a1XXIo8aAo=";

  buildFeatures = [ "go" ];

  meta = with lib; {
    description = "Command Line Tool for generating language files with typeshare";
    homepage = "https://github.com/1password/typeshare";
    license = with licenses; [ asl20 /* or */ mit ];
    maintainers = with maintainers; [ figsoda ];
  };
}