summaryrefslogtreecommitdiffstats
path: root/pkgs/tools
diff options
context:
space:
mode:
authorVladyslav M <dywedir@gra.red>2020-10-23 19:49:32 +0300
committerGitHub <noreply@github.com>2020-10-23 19:49:32 +0300
commit59749cb1b6f5b555708fa896da32ed53c7283ca9 (patch)
treef1f97c6a929e29ff6de9ccaaa50b6a73b2aa7dcc /pkgs/tools
parent649a0560e02630e0e251e2a8906ac89681d1a92e (diff)
parent01b1f1b4494e21ce91c12460ddc9ee94f6114ffe (diff)
Merge pull request #101177 from dywedir/skim
skim: 0.8.2 -> 0.9.1, use fetchCrate
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/skim/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/tools/misc/skim/default.nix b/pkgs/tools/misc/skim/default.nix
index e89cf366136a..1c8dc40de1b7 100644
--- a/pkgs/tools/misc/skim/default.nix
+++ b/pkgs/tools/misc/skim/default.nix
@@ -1,19 +1,17 @@
-{ stdenv, fetchFromGitHub, rustPlatform }:
+{ stdenv, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "skim";
- version = "0.8.2";
+ version = "0.9.1";
- src = fetchFromGitHub {
- owner = "lotabout";
- repo = pname;
- rev = "v${version}";
- sha256 = "0paxrf03rqzahbpr4gnsj62vl09vcxvw248n9wzhjq14dqlwcr9w";
+ src = fetchCrate {
+ inherit pname version;
+ sha256 = "1r8zf56kb9rhh8nlh8w684srr8jfhndf8742x8byw374my9xn8pb";
};
outputs = [ "out" "vim" ];
- cargoSha256 = "0rxxdad60fpwkb4wx5407ihd89wqpf2ldcnp7nsx17xh4brp1l9r";
+ cargoSha256 = "0wjlkyngrc03a92fwmavgj90h0kakww38bfc1wapn2my7p3b6nc1";
postPatch = ''
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim