nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "rops";
10 version = "0.1.6";
11
12 src = fetchFromGitHub {
13 owner = "gibbz00";
14 repo = "rops";
15 tag = version;
16 hash = "sha256-Nqtwc9QSafvr0N8G6LKZBG4pZHzut3t85qwgVAw59iU=";
17 };
18
19 cargoHash = "sha256-EaelxmE53oKsWts9oK3LsK3uA8Vy3XbGUC1vKKBe37I=";
20
21 # will true when tests is fixed from source.
22 doCheck = false;
23
24 passthru.updateScript = nix-update-script { };
25
26 meta = {
27 description = "SOPS alternative in pure rust";
28 homepage = "https://gibbz00.github.io/rops";
29 changelog = "https://github.com/gibbz00/rops/blob/${version}/CHANGELOG.md";
30 mainProgram = "rops";
31 maintainers = with lib.maintainers; [ r17x ];
32 license = lib.licenses.mpl20;
33 };
34}