nixpkgs/pkgs/tools/misc/vivid/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
671 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2018-12-03 14:15:57 +00:00
rustPlatform.buildRustPackage rec {
pname = "vivid";
2024-06-23 03:01:48 +00:00
version = "0.10.1";
2018-12-03 14:15:57 +00:00
src = fetchFromGitHub {
owner = "sharkdp";
repo = pname;
rev = "v${version}";
2024-06-23 03:01:48 +00:00
hash = "sha256-mxBBfezaMM2dfiXK/s+Htr+i5GJP1xVSXzkmYxEuwNs=";
2018-12-03 14:15:57 +00:00
};
2024-06-23 03:01:48 +00:00
cargoHash = "sha256-B1PYLUtBcx35NkU/NR+CmM8bF0hfJWmu11vsovFwR+c=";
2018-12-03 14:15:57 +00:00
meta = with lib; {
description = "Generator for LS_COLORS with support for multiple color themes";
homepage = "https://github.com/sharkdp/vivid";
2018-12-03 14:15:57 +00:00
license = with licenses; [ asl20 /* or */ mit ];
maintainers = [ maintainers.dtzWill ];
platforms = platforms.unix;
2023-11-27 01:17:53 +00:00
mainProgram = "vivid";
2018-12-03 14:15:57 +00:00
};
}