nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "vivid";
9 version = "0.10.1";
10
11 src = fetchFromGitHub {
12 owner = "sharkdp";
13 repo = "vivid";
14 rev = "v${version}";
15 hash = "sha256-mxBBfezaMM2dfiXK/s+Htr+i5GJP1xVSXzkmYxEuwNs=";
16 };
17
18 cargoHash = "sha256-oP5/G/PSkwn4JruLQOGtM8M2uPt4Q88bU3kNmXUK4JE=";
19
20 meta = with lib; {
21 description = "Generator for LS_COLORS with support for multiple color themes";
22 homepage = "https://github.com/sharkdp/vivid";
23 license = with licenses; [
24 asl20 # or
25 mit
26 ];
27 maintainers = [ maintainers.dtzWill ];
28 platforms = platforms.unix;
29 mainProgram = "vivid";
30 };
31}