vscode-extensions.sas.sas-lsp: 1.12.0 -> 1.13.0 (#367941)
[NixPkgs.git] / pkgs / applications / misc / pastel / default.nix
blobe8b81cfeb59de5e8af9b1be64cddf8051eab6f54
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   rustPlatform,
6   Security,
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "pastel";
11   version = "0.10.0";
13   src = fetchFromGitHub {
14     owner = "sharkdp";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "sha256-kr2aLRd143ksVx42ZDO/NILydObinn3AwPCniXVVmY0=";
18   };
20   cargoHash = "sha256-+Cw/aAXkSbYLqc7TGWsMUJNo88v0s1Cq1m4V84j3gXE=";
22   buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
24   meta = with lib; {
25     description = "Command-line tool to generate, analyze, convert and manipulate colors";
26     homepage = "https://github.com/sharkdp/pastel";
27     changelog = "https://github.com/sharkdp/pastel/releases/tag/v${version}";
28     license = with licenses; [
29       asl20 # or
30       mit
31     ];
32     maintainers = with maintainers; [ davidtwco ];
33     mainProgram = "pastel";
34   };