mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
679 B
Nix
27 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";
|
|
};
|
|
}
|