Merge pull request #202381 from figsoda/typeshare

typeshare: init at 1.0.0
This commit is contained in:
figsoda
2022-11-22 20:11:58 -05:00
committed by GitHub
2 changed files with 28 additions and 0 deletions
@@ -0,0 +1,27 @@
{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "typeshare";
version = "1.0.0";
src = fetchCrate {
inherit version;
pname = "typeshare-cli";
sha256 = "sha256-KDmE5f9B2lNVbjdF8d81NTJIwpvPhsoLMA8w7iYIIl8=";
};
cargoSha256 = "sha256-b983tSue9WHkPrcIhp5QSjwj+lESURUYueebjXUWMJY=";
buildFeatures = [ "go" ];
postInstall = ''
ln -s $out/bin/typeshare{-cli,}
'';
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 ];
};
}
+1
View File
@@ -15254,6 +15254,7 @@ with pkgs;
openssl = openssl_1_1;
};
rusty-man = callPackage ../development/tools/rust/rusty-man { };
typeshare = callPackage ../development/tools/rust/typeshare { };
sagittarius-scheme = callPackage ../development/compilers/sagittarius-scheme {};