From 83b3052499b2ca1ed26a2f1cbfc4ab64b0025fbe Mon Sep 17 00:00:00 2001 From: David Thievon <131907205+DOD-101@users.noreply.github.com> Date: Wed, 11 Dec 2024 06:58:49 +0100 Subject: [PATCH] config-store: init at 1.0.0 (#363701) * maintainers: add dod-101 * config-store: init at 1.0.0 Co-authored-by: seth --------- Co-authored-by: David Thievon Co-authored-by: seth --- maintainers/maintainer-list.nix | 6 +++++ pkgs/by-name/co/config-store/package.nix | 30 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/by-name/co/config-store/package.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cdbf962fb4ece..013cf15b614f2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5829,6 +5829,12 @@ githubId = 129093; name = "Desmond O. Chang"; }; + dod-101 = { + email = "david.thievon@proton.me"; + github = "DOD-101"; + githubId = 131907205; + name = "David Thievon"; + }; domenkozar = { email = "domen@dev.si"; github = "domenkozar"; diff --git a/pkgs/by-name/co/config-store/package.nix b/pkgs/by-name/co/config-store/package.nix new file mode 100644 index 0000000000000..af50410e378d1 --- /dev/null +++ b/pkgs/by-name/co/config-store/package.nix @@ -0,0 +1,30 @@ +{ + rustPlatform, + fetchFromGitHub, + lib, +}: +rustPlatform.buildRustPackage rec { + pname = "config-store"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "DOD-101"; + repo = "config-store"; + tag = "v${version}"; + hash = "sha256-dmFIB9tVI5/hnI+VKeawFzKi6UJrRis0tpeQE5a5dGU="; + }; + + cargoHash = "sha256-tEhk6vDan5uaP1vvKanB+juKsGJndrJPP67kudds24s="; + + meta = { + description = "Simple key-value store designed to be used from shell scripts written in Rust"; + homepage = "https://github.com/DOD-101/config-store"; + mainProgram = "config-store"; + license = with lib.licenses; [ + mit + asl20 + ]; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ dod-101 ]; + }; +}