Merge pull request #251165 from figsoda/dufs

dufs: 0.35.0 -> 0.36.0
This commit is contained in:
Nick Cao 2023-08-25 10:02:54 +08:00 committed by GitHub
commit 837092a824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,31 +2,23 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, stdenv , stdenv
, pkg-config
, openssl
, darwin , darwin
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "dufs"; pname = "dufs";
version = "0.35.0"; version = "0.36.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sigoden"; owner = "sigoden";
repo = pname; repo = "dufs";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-FrLvwXEnNEKi8FvPIs6A52WpSUT+pUCc61JBi9M/PPw="; hash = "sha256-WZ+tyrx4ayFyPmDJq6dGaTRiR6bSQq5k5iOfb+ETe/I=";
}; };
cargoHash = "sha256-YHFEjs8a1QJHWYVjAQxmpMIQ2aDbu6mxeuNqcvReYR0="; cargoHash = "sha256-HZiWmqIh21b12DP+hnx1pWBWgSa5j71kp6GCRKGMHv0=";
nativeBuildInputs = lib.optionals stdenv.isLinux [ buildInputs = lib.optionals stdenv.isDarwin [
pkg-config
];
buildInputs = lib.optionals stdenv.isLinux [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
]; ];