Merge pull request #98908 from r-ryantm/auto-update/vivid
vivid: 0.5.0 -> 0.6.0
This commit is contained in:
commit
461704ae11
1 changed files with 6 additions and 10 deletions
|
@ -2,24 +2,20 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "vivid";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sharkdp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "00xxk1ipr3hndd717q52j7s2wfxis1p4glaa9lvp72gwwzmv5k9w";
|
||||
sha256 = "0m928hy2q8byfpm55nziiz86gcnhdnw3zpj78d8wx0pp318zjbla";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/main.rs --replace /usr/share $out/share
|
||||
'';
|
||||
cargoSha256 = "10xddr5cccc5cmhn4kwi27h3krmgapd7bqcp4rhjlbhdhsw7qxkx";
|
||||
|
||||
cargoSha256 = "1l34i7qalid9mlcbpqhbb2bxgn2ylb2lwki4c0hf4kkq646ql0n1";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/${pname}
|
||||
cp -rv config/* themes $out/share/${pname}
|
||||
# Remove after https://github.com/NixOS/nixpkgs/pull/97000 lands into master
|
||||
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
unset SDKROOT
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue