bindle: init at 0.8.1 (#196116)
This commit is contained in:
parent
78e99150c4
commit
2bf9d4fbe9
2 changed files with 38 additions and 0 deletions
34
pkgs/servers/bindle/default.nix
Normal file
34
pkgs/servers/bindle/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib, rustPlatform, fetchFromGitHub, pkgs, stdenv, Security }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "bindle";
|
||||||
|
version = "0.8.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "deislabs";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-Mc3LaEOWx8cN7g0r8CtWkGZ746gAXTaFmAZhEIkbWgM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false; # Tests require a network
|
||||||
|
|
||||||
|
buildInputs = with pkgs; [ pkg-config openssl_3 ] ++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-brsemnw/9YEsA2FEIdYGmQMdlIoT1ZEMjvOpF44gcRE=";
|
||||||
|
|
||||||
|
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; [ endocrimes ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -197,6 +197,10 @@ with pkgs;
|
||||||
|
|
||||||
appindicator-sharp = callPackage ../development/libraries/appindicator-sharp { };
|
appindicator-sharp = callPackage ../development/libraries/appindicator-sharp { };
|
||||||
|
|
||||||
|
bindle = callPackage ../servers/bindle {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
canonicalize-jar = callPackage ../build-support/java/canonicalize-jar.nix { };
|
canonicalize-jar = callPackage ../build-support/java/canonicalize-jar.nix { };
|
||||||
canonicalize-jars-hook = makeSetupHook {
|
canonicalize-jars-hook = makeSetupHook {
|
||||||
name = "canonicalize-jars-hook";
|
name = "canonicalize-jars-hook";
|
||||||
|
|
Loading…
Reference in a new issue