Skip to content

Instantly share code, notes, and snippets.

@voland62
Created February 3, 2022 10:22
Show Gist options
  • Save voland62/c09a10904c9a01b8b4a028991e6ccc71 to your computer and use it in GitHub Desktop.
Save voland62/c09a10904c9a01b8b4a028991e6ccc71 to your computer and use it in GitHub Desktop.
Training derivation to build skim util tool.
with import <nixpkgs> {};
rustPlatform.buildRustPackage rec {
pname = "my-skim";
version = "1.2.3";
src = fetchFromGitHub {
owner = "lotabout";
repo = "skim";
rev = "v0.9.4";
sha256 = "sha256-+8ZLI7WbsixqnEW1AC9e1bI4FOT9ab6RyEgeV2VYeIo=";
};
cargoSha256 = "sha256-uRgx0bSd5tUTAj0lv6HjpW+QViHPHb2rXWSVGPPSWtE=";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment