nix/home/homepkgs/culr.nix
2023-01-09 12:55:33 +11:00

28 lines
689 B
Nix
Executable file

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