nixpkgs/pkgs/tools/text/nerdfix/default.nix

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

27 lines
712 B
Nix
Raw Normal View History

2023-03-26 19:30:22 +02:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "nerdfix";
2023-10-20 12:28:54 +02:00
version = "0.4.0";
2023-03-26 19:30:22 +02:00
src = fetchFromGitHub {
owner = "loichyan";
repo = "nerdfix";
rev = "v${version}";
2023-10-20 12:28:54 +02:00
hash = "sha256-V9f39/9k9kYjngYOSXJYblaKDABPCZbVWxD0p3ZWzlY=";
2023-03-26 19:30:22 +02:00
};
2023-10-20 12:28:54 +02:00
cargoHash = "sha256-PkUQZPLzvVJ7s1D9TkMmgIVQiR/E79BRCYmjZVcHIv8=";
2023-03-26 19:30:22 +02:00
meta = with lib; {
description = "Nerdfix helps you to find/fix obsolete nerd font icons in your project";
homepage = "https://github.com/loichyan/nerdfix";
changelog = "https://github.com/loichyan/nerdfix/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda ];
};
}