pythonPackages.pysatochip: init at 0.11.4

This commit is contained in:
oxalica 2021-04-07 23:11:42 +08:00
parent a81bd15fcf
commit 5162507599
No known key found for this signature in database
GPG key ID: CED392DE0C483D00
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, pyscard, ecdsa, pyaes
, pythonOlder }:
buildPythonPackage rec {
pname = "pysatochip";
version = "0.11.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Jj/zZIS9aXmZ2xdi29Eun7iRIrIk9oBlrtN9+6opIMo=";
};
propagatedBuildInputs = [ pyscard ecdsa pyaes ];
pythonImportsCheck = [ "pysatochip" ];
meta = with lib; {
description = "Simple python library to communicate with a Satochip hardware wallet";
homepage = "https://github.com/Toporin/pysatochip";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ oxalica ];
};
}

View file

@ -6255,6 +6255,8 @@ in {
inherit (pkgs) xmlsec;
};
pysatochip = callPackage ../development/python-modules/pysatochip { };
pysc2 = callPackage ../development/python-modules/pysc2 { };
pyscard = callPackage ../development/python-modules/pyscard {