Skip to content

Commit

Permalink
skim: 0.8.1 -> 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed Jul 29, 2020
1 parent d807152 commit 8173034
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions pkgs/tools/misc/skim/default.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
{ stdenv, fetchFromGitHub, rustPlatform, fetchpatch }:
{ stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
pname = "skim";
version = "0.8.1";
version = "0.8.2";

src = fetchFromGitHub {
owner = "lotabout";
repo = pname;
rev = "v${version}";
sha256 = "0xjb8slrlkrzdqvzmf63lq6rgggrjw3hf9an6h8xf6vizz1vfni0";
sha256 = "0paxrf03rqzahbpr4gnsj62vl09vcxvw248n9wzhjq14dqlwcr9w";
};

outputs = [ "out" "vim" ];

cargoSha256 = "14p4ppbl2mak21jvxpbd1b28jaw2629bc8kv7875cdzy3ksxyji3";

patches = [
# Fix bash completion. Remove with the next release
(fetchpatch {
url = "https://github.com/lotabout/skim/commit/60ca3484090c2e73a1de396500c73a6ad6e0bde9.patch";
sha256 = "07nibr13vmxscbwavrckhcbsvxwkpan4a6ml0qfr1ny36xbc6y3p";
})
];
cargoSha256 = "0rxxdad60fpwkb4wx5407ihd89wqpf2ldcnp7nsx17xh4brp1l9r";

postPatch = ''
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
Expand Down

0 comments on commit 8173034

Please sign in to comment.