biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / pastel / default.nix
blob5164e294a89bccab35b81a9dccd4dbd45b0398b1
1 { lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
3 rustPlatform.buildRustPackage rec {
4   pname = "pastel";
5   version = "0.10.0";
7   src = fetchFromGitHub {
8     owner = "sharkdp";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-kr2aLRd143ksVx42ZDO/NILydObinn3AwPCniXVVmY0=";
12   };
14   cargoHash = "sha256-+Cw/aAXkSbYLqc7TGWsMUJNo88v0s1Cq1m4V84j3gXE=";
16   buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
18   meta = with lib; {
19     description = "Command-line tool to generate, analyze, convert and manipulate colors";
20     homepage = "https://github.com/sharkdp/pastel";
21     changelog = "https://github.com/sharkdp/pastel/releases/tag/v${version}";
22     license = with licenses; [ asl20 /* or */ mit ];
23     maintainers = with maintainers; [ davidtwco ];
24     mainProgram = "pastel";
25   };