diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/text/nerdfix')
-rw-r--r-- | nixpkgs/pkgs/tools/text/nerdfix/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/text/nerdfix/default.nix b/nixpkgs/pkgs/tools/text/nerdfix/default.nix new file mode 100644 index 000000000000..8bb9113f013a --- /dev/null +++ b/nixpkgs/pkgs/tools/text/nerdfix/default.nix @@ -0,0 +1,26 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "nerdfix"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "loichyan"; + repo = "nerdfix"; + rev = "v${version}"; + hash = "sha256-V9f39/9k9kYjngYOSXJYblaKDABPCZbVWxD0p3ZWzlY="; + }; + + cargoHash = "sha256-PkUQZPLzvVJ7s1D9TkMmgIVQiR/E79BRCYmjZVcHIv8="; + + 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 ]; + }; +} |