9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-kr2aLRd143ksVx42ZDO/NILydObinn3AwPCniXVVmY0=";
20 cargoHash = "sha256-+Cw/aAXkSbYLqc7TGWsMUJNo88v0s1Cq1m4V84j3gXE=";
22 buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
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; [
32 maintainers = with maintainers; [ davidtwco ];
33 mainProgram = "pastel";