nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 rustPlatform,
3 fetchFromGitHub,
4 lib,
5}:
6rustPlatform.buildRustPackage rec {
7 pname = "config-store";
8 version = "1.0.0";
9
10 src = fetchFromGitHub {
11 owner = "DOD-101";
12 repo = "config-store";
13 tag = "v${version}";
14 hash = "sha256-dmFIB9tVI5/hnI+VKeawFzKi6UJrRis0tpeQE5a5dGU=";
15 };
16
17 cargoHash = "sha256-3KguaKy+4t7txqKEoWhIMvAjtRgVgO7vEGfVlxJp3Ts=";
18
19 meta = {
20 description = "Simple key-value store designed to be used from shell scripts written in Rust";
21 homepage = "https://github.com/DOD-101/config-store";
22 mainProgram = "config-store";
23 license = with lib.licenses; [
24 mit
25 asl20
26 ];
27 platforms = lib.platforms.unix;
28 maintainers = with lib.maintainers; [ dod-101 ];
29 };
30}