nixpkgs/pkgs/development/python-modules/pyctr/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
603 B
Nix

{ lib, buildPythonPackage, fetchPypi, pythonOlder
, pycryptodomex }:
buildPythonPackage rec {
pname = "pyctr";
version = "0.6.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-05lMcsIeJIHI3LwHQTjr4M+bn1FG+GQscuGq34XxjK8=";
};
propagatedBuildInputs = [ pycryptodomex ];
pythonImportsCheck = [ "pyctr" ];
meta = with lib; {
description = "Python library to interact with Nintendo 3DS files";
license = licenses.mit;
maintainers = with maintainers; [ rileyinman ];
homepage = "https://github.com/ihaveamac/pyctr";
};
}