depot/third_party/nixpkgs/pkgs/tools/misc/askalono/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
681 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 = "A 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";
};
}