Merge pull request #183528 from stehessel/init-cbfmt
cbfmt: init at 0.1.1
This commit is contained in:
commit
edcf826d1e
26
pkgs/development/tools/cbfmt/default.nix
Normal file
26
pkgs/development/tools/cbfmt/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, testers, cbfmt }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cbfmt";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lukas-reineke";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cTX7eBcEZiTJm3b1d2Mwu7NdbtHjeF+dkc3YMede0cQ=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-vEInZplfgrM4gD5wPATl7j5iTo9pSstElfd0Lq9giJw=";
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = cbfmt;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to format codeblocks inside markdown and org documents";
|
||||
homepage = "https://github.com/lukas-reineke/cbfmt";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.stehessel ];
|
||||
};
|
||||
}
|
@ -292,6 +292,8 @@ with pkgs;
|
||||
|
||||
buf = callPackage ../development/tools/buf { };
|
||||
|
||||
cbfmt = callPackage ../development/tools/cbfmt { };
|
||||
|
||||
cfn-nag = callPackage ../development/tools/cfn-nag { };
|
||||
|
||||
cxx-rs = callPackage ../development/libraries/cxx-rs { };
|
||||
|
Loading…
Reference in New Issue
Block a user