nixpkgs/pkgs/servers/bindle/default.nix
Danielle Lancashire 566927fc8d
maintainers: remove endocrimes
Please accept this letter as formal notice of my resignation from the
position of "Community Member" at DeterminateSystems.

Thank you for giving me the opportunity to work in this position - I
have thoroughly enjoyed being frustrated and saddened whenever
interacting with the DetSys community. However, I've decided it is time for me
to move on to another community that will hopefully be less tolerant of
willful hate and sexism.

~Danielle

Signed-off-by: Danielle Lancashire <dani@builds.terrible.systems>
2024-04-27 01:11:23 +02:00

40 lines
934 B
Nix

{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "bindle";
version = "0.9.1";
src = fetchFromGitHub {
owner = "deislabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-xehn74fqP0tEtP4Qy9TRGv+P2QoHZLxRHzGoY5cQuv0=";
};
postPatch = ''
rm .cargo/config
'';
doCheck = false; # Tests require a network
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
cargoSha256 = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0=";
cargoBuildFlags = [
"--bin" "bindle"
"--bin" "bindle-server"
"--all-features"
];
meta = with lib; {
description = "Bindle: Aggregate Object Storage";
homepage = "https://github.com/deislabs/bindle";
license = licenses.asl20;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}