dump_syms: refactor
this shouldn't create any rebuilds
This commit is contained in:
@@ -12,17 +12,14 @@
|
||||
thunderbird-unwrapped,
|
||||
}:
|
||||
|
||||
let
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "dump_syms";
|
||||
version = "2.3.6";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "dump_syms";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-ABfjLV6WMIiaSiyfR/uxL6+VyO/pO6oZjbJSAxRGXuE=";
|
||||
};
|
||||
|
||||
@@ -50,11 +47,11 @@ rustPlatform.buildRustPackage {
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/mozilla/dump_syms/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/mozilla/dump_syms/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
description = "Command-line utility for parsing the debugging information the compiler provides in ELF or stand-alone PDB files";
|
||||
mainProgram = "dump_syms";
|
||||
license = lib.licenses.asl20;
|
||||
homepage = "https://github.com/mozilla/dump_syms/";
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user