nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, rustPlatform
3, fetchCrate
4}:
5
6rustPlatform.buildRustPackage rec {
7 pname = "askalono";
8 version = "0.4.6";
9
10 src = fetchCrate {
11 pname = "askalono-cli";
12 inherit version;
13 hash = "sha256-7l5bHSsmuMoHbbOI3TAYFeHwD3Y62JvfrrXZa08V3+U=";
14 };
15
16 cargoHash = "sha256-OkN8V37GApJvremRJlWG3HSpWgMC17Ge8JMTiQVoc/g=";
17
18 meta = with lib; {
19 description = "A tool to detect open source licenses from texts";
20 homepage = "https://github.com/jpeddicord/askalono";
21 changelog = "https://github.com/jpeddicord/askalono/blob/${version}/CHANGELOG.md";
22 license = licenses.asl20;
23 maintainers = with maintainers; [ figsoda ];
24 };
25}