lol

Merge pull request #245744 from figsoda/rustycli

authored by

figsoda and committed by
GitHub
6a1255d2 4d8feb88

+34
+33
pkgs/development/tools/rust/rustycli/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchCrate 4 + , stdenv 5 + , darwin 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "rustycli"; 10 + version = "0.1.1"; 11 + 12 + src = fetchCrate { 13 + inherit pname version; 14 + hash = "sha256-4Txw6Cmwwgu7K8VIVoX9GR76VUqAEw6uYptmczbjqg0="; 15 + }; 16 + 17 + cargoHash = "sha256-WU3lgGJH6qVDI1Un3HBqg0edqiP5sobTsAIXdnjeNTU="; 18 + 19 + buildInputs = lib.optionals stdenv.isDarwin [ 20 + darwin.apple_sdk.frameworks.Security 21 + ]; 22 + 23 + # some examples fail to compile 24 + cargoTestFlags = [ "--tests" ]; 25 + 26 + meta = with lib; { 27 + description = "Access the rust playground right in terminal"; 28 + homepage = "https://github.com/pwnwriter/rustycli"; 29 + changelog = "https://github.com/pwnwriter/rustycli/releases/tag/v${version}"; 30 + license = licenses.mit; 31 + maintainers = with maintainers; [ figsoda ]; 32 + }; 33 + }
+1
pkgs/top-level/all-packages.nix
··· 17061 17061 inherit (darwin.apple_sdk.frameworks) Security; 17062 17062 }; 17063 17063 rusty-man = callPackage ../development/tools/rust/rusty-man { }; 17064 + rustycli = callPackage ../development/tools/rust/rustycli { }; 17064 17065 typeshare = callPackage ../development/tools/rust/typeshare { }; 17065 17066 17066 17067 sagittarius-scheme = callPackage ../development/compilers/sagittarius-scheme { };