snowflake/pkgs/forex/default.nix

31 lines
736 B
Nix
Raw Permalink Normal View History

2024-06-01 14:46:29 -04:00
{
pkgs,
lib,
rustPlatform,
fetchFromGitea,
...
}:
rustPlatform.buildRustPackage {
name = "forex";
src = fetchFromGitea {
domain = "git.flake.sh";
owner = "notohh";
repo = "forex";
rev = "de4b32b0d5bf0631404dd11c5878058bc7fd4a56";
sha256 = "sha256-d/iyg/tFF3N0I6LCSFU4U1vBzpz60s2FnT0GB4AuihE=";
};
nativeBuildInputs = [pkgs.pkg-config];
buildInputs = [pkgs.openssl];
2024-08-10 17:06:09 -04:00
cargoHash = "sha256-COWFG766DVWXbGm8raVSH1nBpsS5HdTat5BHzv7QR4o=";
2024-06-01 14:46:29 -04:00
meta = with lib; {
description = "a CLI currency converter, written in rust, for practice";
mainProgram = "forex";
homepage = "https://git.flake.sh/notohh/forex";
license = licenses.mit;
maintainers = with maintainers; [notohh];
};
}