aux-search/flake-info/default.nix

17 lines
456 B
Nix
Raw Normal View History

2021-08-17 08:55:08 +00:00
{ pkgs ? import <nixpkgs> { } }: with pkgs;
rustPlatform.buildRustPackage rec {
name = "flake-info";
src = ./.;
cargoSha256 = "sha256-TA1WEvmOfnxQ+rRwkIPN1t4VPrDL6pq+WnPHVu2/CPE=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl openssl.dev ] ++ lib.optional pkgs.stdenv.isDarwin [libiconv darwin.apple_sdk.frameworks.Security];
checkFlags = [
"--skip elastic::tests"
"--skip nix_gc::tests"
];
}