Skip to content

Commit

Permalink
Merge pull request #317080 from r-ryantm/auto-update/openpgp-card-tools
Browse files Browse the repository at this point in the history
openpgp-card-tools: 0.10.1 -> 0.11.0
  • Loading branch information
NickCao authored Jun 6, 2024
2 parents 173a51e + 178bc95 commit a73df7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,31 @@
, fetchFromGitea
, pkg-config
, pcsclite
, nettle
, PCSC
, testers
, openpgp-card-tools
, darwin
}:

rustPlatform.buildRustPackage rec {
pname = "openpgp-card-tools";
version = "0.10.1";
version = "0.11.0";

src = fetchFromGitea {
domain = "codeberg.org";
owner = "openpgp-card";
repo = "openpgp-card-tools";
rev = "v${version}";
hash = "sha256-fasu2XElGk6TB2VNFg43rpa3ZafgGZga9WojyUiXj0k=";
hash = "sha256-GKBli6ybMDqB105POFEocU2X/xvd56V87k6Y6BsNt18=";
};

cargoHash = "sha256-7OauQRG8DhIoANfel45QBm3igGjmtNw9KNAwt1TL5xg=";
cargoHash = "sha256-mLZErQhgRWDMdDC5tWjG9NCvLaSdF4A3uCdN8+QMWjU=";

nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
buildInputs = [ pcsclite nettle ] ++ lib.optionals stdenv.isDarwin [ PCSC ];

buildInputs = [ pcsclite ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.PCSC
darwin.apple_sdk.frameworks.Security
];

passthru = {
tests.version = testers.testVersion {
Expand Down
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23664,10 +23664,6 @@ with pkgs;

openpa = callPackage ../development/libraries/openpa { };

openpgp-card-tools = callPackage ../tools/security/openpgp-card-tools {
inherit (darwin.apple_sdk.frameworks) PCSC;
};

opensaml-cpp = callPackage ../development/libraries/opensaml-cpp { };

openscenegraph = callPackage ../development/libraries/openscenegraph {
Expand Down

0 comments on commit a73df7d

Please sign in to comment.