nixpkgs/pkgs/tools/misc/askalono/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
681 B
Nix
Raw Normal View History

2023-01-21 23:13:11 +01:00
{ 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 ];
2023-11-27 02:17:53 +01:00
mainProgram = "askalono";
2023-01-21 23:13:11 +01:00
};
}