vivid: 0.5.0 -> 0.6.0
This commit is contained in:
parent
3821543de7
commit
a38806dafe
@ -2,24 +2,20 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "vivid";
|
pname = "vivid";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sharkdp";
|
owner = "sharkdp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00xxk1ipr3hndd717q52j7s2wfxis1p4glaa9lvp72gwwzmv5k9w";
|
sha256 = "0m928hy2q8byfpm55nziiz86gcnhdnw3zpj78d8wx0pp318zjbla";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
cargoSha256 = "10xddr5cccc5cmhn4kwi27h3krmgapd7bqcp4rhjlbhdhsw7qxkx";
|
||||||
substituteInPlace src/main.rs --replace /usr/share $out/share
|
|
||||||
'';
|
|
||||||
|
|
||||||
cargoSha256 = "1l34i7qalid9mlcbpqhbb2bxgn2ylb2lwki4c0hf4kkq646ql0n1";
|
# Remove after https://github.com/NixOS/nixpkgs/pull/97000 lands into master
|
||||||
|
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
postInstall = ''
|
unset SDKROOT
|
||||||
mkdir -p $out/share/${pname}
|
|
||||||
cp -rv config/* themes $out/share/${pname}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user