python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / admin / coldsnap / default.nix
blob3717550846c21f3b391985d4682d7eaa36833dc2
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , openssl
5 , stdenv
6 , Security
7 , pkg-config
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "coldsnap";
12   version = "0.4.2";
14   src = fetchFromGitHub {
15     owner = "awslabs";
16     repo = pname;
17     rev = "v${version}";
18     hash = "sha256-+JQjJ4F++S3eLnrqV1v4leepOvZBf8Vp575rnlDx2Cg=";
19   };
20   cargoHash = "sha256-mAnoe9rK4+OpCzD7tzV+FQz+fFr8NapzsXtON3lS/tk";
22   buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
23   nativeBuildInputs = [ pkg-config ];
25   meta = with lib; {
26     homepage = "https://github.com/awslabs/coldsnap";
27     description = "A command line interface for Amazon EBS snapshots";
28     changelog = "https://github.com/awslabs/coldsnap/blob/${src.rev}/CHANGELOG.md";
29     license = licenses.apsl20;
30     maintainers = teams.determinatesystems.members;
31   };