portfolio_rs: init at 0.6.0 (#422709)

This commit is contained in:
Sandro
2025-10-16 20:54:24 +00:00
committed by GitHub
2 changed files with 46 additions and 0 deletions
+6
View File
@@ -15873,6 +15873,12 @@
githubId = 1913876;
name = "Markus Scherer";
};
MarkusZoppelt = {
email = "markus@zoppelt.net";
github = "MarkusZoppelt";
githubId = 2495125;
name = "Markus Zoppelt";
};
marmolak = {
email = "hack.robin@gmail.com";
github = "marmolak";
+40
View File
@@ -0,0 +1,40 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "portfolio_rs";
version = "0.6.0";
src = fetchFromGitHub {
owner = "MarkusZoppelt";
repo = "portfolio_rs";
tag = "v${finalAttrs.version}";
hash = "sha256-WCz41eJciYwvljiyg5MESiz4eUXBpot7+j81PPyG+fY=";
};
cargoHash = "sha256-s+/IaajmdKu49nQ49RdjudgKW9KdAix0Ryj+N+wnuZU=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
# Skip network-dependent tests during build
checkFlags = [
"--skip=test_get_quote_name"
"--skip=test_get_quote_price"
"--skip=test_get_historic_price"
"--skip=test_handle_position"
"--skip=test_get_historic_total_value"
];
meta = {
description = "Command line tool for managing financial investment portfolios.";
homepage = "https://github.com/MarkusZoppelt/portfolio_rs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ MarkusZoppelt ];
};
})