biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / rust / rustycli / default.nix
blob09bc2e44f74840e6a561ac62df299da6ee638437
1 { lib
2 , rustPlatform
3 , fetchCrate
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "rustycli";
10   version = "0.1.1";
12   src = fetchCrate {
13     inherit pname version;
14     hash = "sha256-4Txw6Cmwwgu7K8VIVoX9GR76VUqAEw6uYptmczbjqg0=";
15   };
17   cargoHash = "sha256-WU3lgGJH6qVDI1Un3HBqg0edqiP5sobTsAIXdnjeNTU=";
19   buildInputs = lib.optionals stdenv.isDarwin [
20     darwin.apple_sdk.frameworks.Security
21   ];
23   # some examples fail to compile
24   cargoTestFlags = [ "--tests" ];
26   meta = with lib; {
27     description = "Access the rust playground right in terminal";
28     mainProgram = "rustycli";
29     homepage = "https://github.com/pwnwriter/rustycli";
30     changelog = "https://github.com/pwnwriter/rustycli/releases/tag/v${version}";
31     license = licenses.mit;
32     maintainers = with maintainers; [ figsoda ];
33   };