python3Packages.ndspy: disable on older Python releases
This commit is contained in:
parent
b3559b7817
commit
69db43f107
|
@ -1,8 +1,17 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, crcmod, pytestCheckHook }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, crcmod
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ndspy";
|
pname = "ndspy";
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RoadrunnerWMC";
|
owner = "RoadrunnerWMC";
|
||||||
|
@ -11,13 +20,25 @@ buildPythonPackage rec {
|
||||||
sha256 = "0x3sp10had1mq192m7kgjivvs8kpjagxjgj9d4z95dfjhzzbjh70";
|
sha256 = "0x3sp10had1mq192m7kgjivvs8kpjagxjgj9d4z95dfjhzzbjh70";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ crcmod ];
|
propagatedBuildInputs = [
|
||||||
checkInputs = [ pytestCheckHook ];
|
crcmod
|
||||||
preCheck = "cd tests";
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"ndspy"
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
cd tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Python library for many Nintendo DS file formats";
|
||||||
homepage = "https://github.com/RoadrunnerWMC/ndspy";
|
homepage = "https://github.com/RoadrunnerWMC/ndspy";
|
||||||
description = "A Python library for many Nintendo DS file formats";
|
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ xfix ];
|
maintainers = with maintainers; [ xfix ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue