1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 pycryptodomex,
7}:
8
9buildPythonPackage rec {
10 pname = "pyctr";
11 version = "0.7.6";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-8Vgesn/uLe9rq2JqdUy0qL9FOmglJ7vxr5gRsGNGhAI=";
19 };
20
21 propagatedBuildInputs = [ pycryptodomex ];
22
23 pythonImportsCheck = [ "pyctr" ];
24
25 meta = with lib; {
26 description = "Python library to interact with Nintendo 3DS files";
27 homepage = "https://github.com/ihaveamac/pyctr";
28 changelog = "https://github.com/ihaveamac/pyctr/blob/v${version}/CHANGELOG.md";
29 license = licenses.mit;
30 maintainers = with maintainers; [ rileyinman ];
31 };
32}