3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #215602 from figsoda/codevis

codevis: init at 0.5.1
This commit is contained in:
Nick Cao 2023-02-10 12:37:16 +08:00 committed by GitHub
commit 8515e2d44f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, oniguruma
}:
rustPlatform.buildRustPackage rec {
pname = "codevis";
version = "0.5.1";
src = fetchFromGitHub {
owner = "sloganking";
repo = "codevis";
rev = "v${version}";
hash = "sha256-dkzBLDZK0BJ069mlkXMGtuDodZr9sxFmpEXjp5Nf0Qk=";
};
cargoHash = "sha256-/2sBd2RAOjGTgXMocuKea1qhkXj81vM8PlRhYsJKx5g=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
oniguruma
];
RUSTONIG_SYSTEM_LIBONIG = true;
meta = with lib; {
description = "A tool to take all source code in a folder and render them to one image";
homepage = "https://github.com/sloganking/codevis";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -6271,6 +6271,8 @@ with pkgs;
codebraid = callPackage ../tools/misc/codebraid { };
codevis = callPackage ../tools/misc/codevis { };
compass = callPackage ../development/tools/compass { };
cone = callPackage ../development/compilers/cone {