Merge pull request #51709 from dtzWill/feature/vivid-0.4.0
vivid: init at 0.4.0
This commit is contained in:
commit
a647ab17cc
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "vivid";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sharkdp";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "13x0295v5blvv8dxhimbdjh81l7xl0vm6zni3qjd85psfn61371q";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/main.rs --replace /usr/share $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
cargoSha256 = "156wapa2ds7ij1jhrpa8mm6dicwq934qxl56sqw3bgz6pfa8fldz";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/${pname}
|
||||||
|
cp -rv config/* themes $out/share/${pname}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A generator for LS_COLORS with support for multiple color themes";
|
||||||
|
homepage = https://github.com/sharkdp/vivid;
|
||||||
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
|
maintainers = [ maintainers.dtzWill ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -22901,6 +22901,8 @@ in
|
||||||
|
|
||||||
virglrenderer = callPackage ../development/libraries/virglrenderer { };
|
virglrenderer = callPackage ../development/libraries/virglrenderer { };
|
||||||
|
|
||||||
|
vivid = callPackage ../tools/misc/vivid { };
|
||||||
|
|
||||||
vokoscreen = libsForQt5.callPackage ../applications/video/vokoscreen { };
|
vokoscreen = libsForQt5.callPackage ../applications/video/vokoscreen { };
|
||||||
|
|
||||||
wavegain = callPackage ../applications/audio/wavegain { };
|
wavegain = callPackage ../applications/audio/wavegain { };
|
||||||
|
|
Loading…
Reference in New Issue