Merge pull request #227084 from figsoda/topfew

topfew-rs: init at 0.2.3
This commit is contained in:
Nick Cao
2023-04-22 11:14:00 +08:00
committed by GitHub
2 changed files with 28 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "topfew-rs";
version = "0.2.3";
src = fetchFromGitHub {
owner = "djc";
repo = "topfew-rs";
rev = version;
hash = "sha256-VlSLPcKw3LYGnmKk5YOkcGIizw1tqtKF2BykY+1MtvY=";
};
cargoHash = "sha256-j+afSwDHau7H20siYtid7l8tq+iS24KJBsNZAEdNJlI=";
meta = with lib; {
description = "Rust implementation of Tim Bray's topfew tool";
homepage = "https://github.com/djc/topfew-rs";
license = licenses.gpl3Only;
maintainers = with maintainers; [ figsoda ];
mainProgram = "tf";
};
}
+2
View File
@@ -12899,6 +12899,8 @@ with pkgs;
toml2nix = callPackage ../development/tools/toml2nix { };
topfew-rs = callPackage ../tools/text/topfew-rs { };
topgrade = callPackage ../tools/misc/topgrade {
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation;
};