mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nixseparatedebuginfod: init at 0.3.2
This commit is contained in:
parent
5a09cb4b39
commit
045b4f7276
42
pkgs/by-name/ni/nixseparatedebuginfod/package.nix
Normal file
42
pkgs/by-name/ni/nixseparatedebuginfod/package.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, libarchive
|
||||
, openssl
|
||||
, sqlite
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nixseparatedebuginfod";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "symphorien";
|
||||
repo = "nixseparatedebuginfod";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XSEHNoc3h21foVeR28KgfiBTRHyUh+GJ52LMD2xFHfA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-t6W6siHuga/T9kmanA735zH2i9eCOT7vD6v7E5LIp9k=";
|
||||
|
||||
# tests need a working nix install with access to the internet
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [
|
||||
libarchive
|
||||
openssl
|
||||
sqlite
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Downloads and provides debug symbols and source code for nix derivations to gdb and other debuginfod-capable debuggers as needed";
|
||||
homepage = "https://github.com/symphorien/nixseparatedebuginfod";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = [ maintainers.symphorien ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "nixseparatedebuginfod";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user