nix-config/pkgs/slick.nix

25 lines
598 B
Nix
Raw Normal View History

2022-09-28 21:42:37 +02:00
{ stdenv, lib, openssl, pkgconfig, fetchFromGitHub, rustPlatform }:
2022-09-27 01:16:19 +02:00
rustPlatform.buildRustPackage rec {
pname = "slick";
version = "0.10.0";
src = fetchFromGitHub {
owner = "nbari";
repo = pname;
rev = version;
2022-09-28 21:42:37 +02:00
sha256 = "sha256-GM9OHnySc3RVkfaK7yMf1LqpGdz3emq2H/3tSAph4jw=";
2022-09-27 01:16:19 +02:00
};
2022-09-28 21:42:37 +02:00
buildInputs = [ openssl pkgconfig ];
nativeBuildInputs = [ pkgconfig ];
cargoSha256 = "sha256-2WxFprq+AcXGXDMjMQvqKTkeWQEWM/z2Fz6qYPtSFGw=";
2022-09-27 01:16:19 +02:00
meta = with lib; {
description = "Async ZSH prompt";
homepage = "https://github.com/nbari/slick";
license = licenses.bsd3;
};
}