Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "rops";
10 version = "0.1.5";
11
12 src = fetchFromGitHub {
13 owner = "gibbz00";
14 repo = "rops";
15 tag = version;
16 hash = "sha256-wwZ/4yOB4pE6lZgX8ytCC3plMYt6kxOakQoLy8SWN+k=";
17 };
18
19 cargoHash = "sha256-sKPVdvMoQ2nV29rjau/6YpO1zpAQOuZhouPCvDf2goc=";
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}