Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 654 B view raw
1{ lib, buildPythonPackage, fetchPypi, pyscard, ecdsa, pyaes 2, pythonOlder }: 3 4buildPythonPackage rec { 5 pname = "pysatochip"; 6 version = "0.11.4"; 7 disabled = pythonOlder "3.6"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "sha256-Jj/zZIS9aXmZ2xdi29Eun7iRIrIk9oBlrtN9+6opIMo="; 12 }; 13 14 propagatedBuildInputs = [ pyscard ecdsa pyaes ]; 15 16 pythonImportsCheck = [ "pysatochip" ]; 17 18 meta = with lib; { 19 description = "Simple python library to communicate with a Satochip hardware wallet"; 20 homepage = "https://github.com/Toporin/pysatochip"; 21 license = licenses.lgpl3Only; 22 maintainers = with maintainers; [ oxalica ]; 23 }; 24}