Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,593 changes: 0 additions & 3,593 deletions pkgs/by-name/ca/cargo-information/Cargo.lock

This file was deleted.

43 changes: 21 additions & 22 deletions pkgs/by-name/ca/cargo-information/package.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{ lib
, rustPlatform
, fetchFromGitHub
, makeWrapper
, pkg-config
, openssl
, curl
, rustc
, stdenv
, darwin
{
lib,
rustPlatform,
fetchFromGitHub,
makeWrapper,
pkg-config,
openssl,
curl,
rustc,
stdenv,
darwin,
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -21,12 +22,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-gu1t0jMBJ+mJIVMGy1JlabzcOT4lbmTvO/VQfxLLsWM=";
};

cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"cargo-test-macro-0.2.1" = "sha256-3sergm2T4VXT41ERCLL7p9+pJwIKzT54qdla8V58Psk=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-e8XUbYnv9LQ8RRKGq1h9ueystl526arMac9h6Klwz+E=";

checkFlags = [
# Require network access
Expand All @@ -42,12 +39,14 @@ rustPlatform.buildRustPackage rec {
makeWrapper
];

buildInputs = [
openssl
curl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
buildInputs =
[
openssl
curl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];

postFixup = ''
wrapProgram $out/bin/cargo-info \
Expand Down
Loading