From 5380d6482af87011f079db46090974c66403cf22 Mon Sep 17 00:00:00 2001 From: r17x Date: Fri, 13 Dec 2024 18:07:39 +0700 Subject: [PATCH] rops: init at 0.1.4 --- pkgs/by-name/ro/rops/package.nix | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/ro/rops/package.nix diff --git a/pkgs/by-name/ro/rops/package.nix b/pkgs/by-name/ro/rops/package.nix new file mode 100644 index 000000000000..e8887a93d241 --- /dev/null +++ b/pkgs/by-name/ro/rops/package.nix @@ -0,0 +1,34 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, +}: + +rustPlatform.buildRustPackage rec { + pname = "rops"; + version = "0.1.4"; + + src = fetchFromGitHub { + owner = "gibbz00"; + repo = "rops"; + tag = version; + hash = "sha256-532rV7ISNy8vbqq8yW9FdIqj5Ei/HJKZoEocM7Vwvg8="; + }; + + cargoHash = "sha256-7+SAaIw2B+Viu3lBN+yQq5VDEC9o4THQ1LRiQ8QmnaU="; + + # will true when tests is fixed from source. + doCheck = false; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "SOPS alternative in pure rust"; + homepage = "https://gibbz00.github.io/rops"; + changelog = "https://github.com/gibbz00/rops/blob/${version}/CHANGELOG.md"; + mainProgram = "rops"; + maintainers = with lib.maintainers; [ r17x ]; + license = lib.licenses.mpl20; + }; +}