depot/third_party/nixpkgs/pkgs/development/python-modules/ndspy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
741 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "ndspy";
version = "4.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "RoadrunnerWMC";
repo = pname;
rev = "v${version}";
hash = "sha256-V7phRZCA0WbUpYLgS/4nJbje/JM61RksDUZQ2pnbQyU=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ndspy" ];
preCheck = ''
cd tests
'';
meta = with lib; {
description = "Python library for many Nintendo DS file formats";
homepage = "https://github.com/RoadrunnerWMC/ndspy";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ marius851000 ];
};
}