openpgp-card-tools: 0.9.3 -> 0.9.4

Diff: https://codeberg.org/openpgp-card/openpgp-card-tools/compare/v0.9.3...v0.9.4
This commit is contained in:
Nick Cao 2023-09-10 15:18:09 -04:00
parent 2dc458d317
commit e9d19aa4df
No known key found for this signature in database

View File

@ -1,7 +1,7 @@
{ lib
, stdenv
, rustPlatform
, fetchCrate
, fetchFromGitea
, pkg-config
, pcsclite
, nettle
@ -12,14 +12,17 @@
rustPlatform.buildRustPackage rec {
pname = "openpgp-card-tools";
version = "0.9.3";
version = "0.9.4";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-F+j8bK0sBBLWlQzLAcvl6BdiI3Dy8ollwTpL7929nJ8=";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "openpgp-card";
repo = "openpgp-card-tools";
rev = "v${version}";
hash = "sha256-ISIABjuh0BC6OUFa5I9Wou+av7Dp4bZH8Aazi6x7cqY=";
};
cargoHash = "sha256-Wn3fXAft+sju8FhX6YFHRvqt815NhTlfhLJarSemvm0=";
cargoHash = "sha256-+EEpoI9OQvnJR6bVbEuLn3O7w6BchjBzr+oMGsWdP/k=";
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
buildInputs = [ pcsclite nettle ] ++ lib.optionals stdenv.isDarwin [ PCSC ];