Merge pull request #245744 from figsoda/rustycli
This commit is contained in:
commit
6a1255d2d0
33
pkgs/development/tools/rust/rustycli/default.nix
Normal file
33
pkgs/development/tools/rust/rustycli/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rustycli";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-4Txw6Cmwwgu7K8VIVoX9GR76VUqAEw6uYptmczbjqg0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-WU3lgGJH6qVDI1Un3HBqg0edqiP5sobTsAIXdnjeNTU=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
# some examples fail to compile
|
||||
cargoTestFlags = [ "--tests" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Access the rust playground right in terminal";
|
||||
homepage = "https://github.com/pwnwriter/rustycli";
|
||||
changelog = "https://github.com/pwnwriter/rustycli/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -17061,6 +17061,7 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
rusty-man = callPackage ../development/tools/rust/rusty-man { };
|
||||
rustycli = callPackage ../development/tools/rust/rustycli { };
|
||||
typeshare = callPackage ../development/tools/rust/typeshare { };
|
||||
|
||||
sagittarius-scheme = callPackage ../development/compilers/sagittarius-scheme { };
|
||||
|
|
Loading…
Reference in a new issue