Merge pull request #118723 from oxalica/bump/electron-cash

This commit is contained in:
Sandro
2021-04-09 02:32:04 +02:00
committed by GitHub
4 changed files with 77 additions and 15 deletions

View File

@@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder }:
buildPythonPackage rec {
pname = "pathvalidate";
version = "2.4.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PJvZTH7CPpz7IR/741audfl51sCZosdF7pSQ9STzJGg=";
};
# Requires `pytest-md-report`, causing infinite recursion.
doCheck = false;
pythonImportsCheck = [ "pathvalidate" ];
meta = with lib; {
description = "A Python library to sanitize/validate a string such as filenames/file-paths/etc";
homepage = "https://github.com/thombashi/pathvalidate";
license = licenses.mit;
maintainers = with maintainers; [ oxalica ];
};
}

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 ];
};
}