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

24 lines
649 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2018-12-03 14:15:57 +00:00
rustPlatform.buildRustPackage rec {
pname = "vivid";
version = "0.7.0";
2018-12-03 14:15:57 +00:00
src = fetchFromGitHub {
owner = "sharkdp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2rdNjpJrBuj6toLFzFJScNh6od5qUhkSaZF+NbPBlQA=";
2018-12-03 14:15:57 +00:00
};
cargoSha256 = "sha256-1aox1eiF3hu5guBjRcM3qb6mHJOutI+yargW7X4cFfg=";
2018-12-03 14:15:57 +00:00
meta = with lib; {
2018-12-03 14:15:57 +00:00
description = "A 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;
};
}