Skip to content

Instantly share code, notes, and snippets.

@siers
Created December 22, 2023 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siers/0755c82a8fb66098131e4e3beae0771f to your computer and use it in GitHub Desktop.
Save siers/0755c82a8fb66098131e4e3beae0771f to your computer and use it in GitHub Desktop.
leveldb-cli nix buildGoModule
{ fetchFromGitHub, buildGoModule }:
buildGoModule {
name = "leveldb-cli";
vendorHash = "sha256-xM32ynbK8rF6JZty4701A+g6WxHOPx+frBngVIXizV4=";
src = fetchFromGitHub {
owner = "liderman";
repo = "leveldb-cli";
rev = "4233523f321208dfda6dce4908d407ad6ee39b0c";
hash = "sha256-BwxCpBw+ChpENc44SAXKoQKXs4ckI1Fayy9Mq55KWiw=";
};
}
# nix-build -E 'with (import <nixpkgs> {}); callPackage (import ./.) {}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment