Skip to content

Instantly share code, notes, and snippets.

@edef1c
Created October 18, 2019 07:21
Show Gist options
  • Save edef1c/b09cac29369312cbbbc8893ddd7af6f4 to your computer and use it in GitHub Desktop.
Save edef1c/b09cac29369312cbbbc8893ddd7af6f4 to your computer and use it in GitHub Desktop.
ugdb packaged for Nix
self: super:
with self;
with rustPlatform;
{
ugdb = buildRustPackage rec {
pname = "ugdb";
version = "0.1.4";
src = fetchFromGitHub {
owner = "ftilde";
repo = pname;
rev = version;
sha256 = "0521x40f8clzg4g1gdf30mb7cnyrmripifssvdprgi51dcnblnyz";
};
cargoSha256 = "0bndhj441znd46ms7as66bi3ilr0glvi0wmj47spak90s97w67ci";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl libgit2 ];
LIBGIT2_SYS_USE_PKG_CONFIG = true;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment