add some culr

This commit is contained in:
atagen 2022-08-27 22:12:02 +10:00
parent 0737d5725f
commit b2b49d1c2f
2 changed files with 120 additions and 31 deletions

27
home/homepkgs/culr.nix Normal file
View file

@ -0,0 +1,27 @@
{ lib, fetchFromGitea, rustPlatform, libX11, pkg-config }:
rustPlatform.buildRustPackage rec {
pname = "culr";
version = "0.1.0";
src = fetchFromGitea {
domain = "git.atagen.co";
owner = "atagen";
repo = pname;
rev = "d5a7fe6df6";
sha256 = "sha256-S2JwubuVFj/ZXemcJyZv9pAbM0rSi5CauE9vtJBgspw=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libX11 ];
cargoSha256 = "sha256-d8MshgH3EppKR80fULU5kraJzrkG57KApzcJM2muvIE=";
meta = with lib; {
description = "colourise piped input";
homepage = "https://git.atagen.co/atagen/culr";
license = licenses.mit;
maintainers = [ ];
};
}