1{ lib, buildPythonPackage, fetchPypi, pythonOlder
2, pycryptodomex }:
3
4buildPythonPackage rec {
5 pname = "pyctr";
6 version = "0.6.0";
7 disabled = pythonOlder "3.7";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "sha256-05lMcsIeJIHI3LwHQTjr4M+bn1FG+GQscuGq34XxjK8=";
12 };
13
14 propagatedBuildInputs = [ pycryptodomex ];
15
16 pythonImportsCheck = [ "pyctr" ];
17
18 meta = with lib; {
19 description = "Python library to interact with Nintendo 3DS files";
20 license = licenses.mit;
21 maintainers = with maintainers; [ rileyinman ];
22 homepage = "https://github.com/ihaveamac/pyctr";
23 };
24}