depot/third_party/nixpkgs/pkgs/tools/misc/askalono/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
679 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "askalono";
version = "0.4.6";
src = fetchCrate {
pname = "askalono-cli";
inherit version;
hash = "sha256-7l5bHSsmuMoHbbOI3TAYFeHwD3Y62JvfrrXZa08V3+U=";
};
cargoHash = "sha256-OkN8V37GApJvremRJlWG3HSpWgMC17Ge8JMTiQVoc/g=";
meta = with lib; {
description = "Tool to detect open source licenses from texts";
homepage = "https://github.com/jpeddicord/askalono";
changelog = "https://github.com/jpeddicord/askalono/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
mainProgram = "askalono";
};
}