python3Packages.pyxbe: unstable-2021-01-10 -> 0.0.4

This commit is contained in:
Fabian Affolter 2022-03-18 23:35:35 +01:00
parent ee443ffba4
commit 79a919b16a

View file

@ -2,17 +2,21 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyxbe"; pname = "pyxbe";
version = "unstable-2021-01-10"; version = "0.0.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mborgerson"; owner = "mborgerson";
repo = pname; repo = pname;
rev = "a7ae1bb21b02a57783831eb080c1edbafaad1d5d"; rev = "v${version}";
sha256 = "1cp9a5f41z8j7bzip6nhka8qnxs12v75cdf80sk2nzgf1k15wi2p"; hash = "sha256-mHUmSSy/ygteJhRX6AbgZJ+c5MZMZcgNRoTOfxhV+XQ=";
}; };
checkInputs = [ checkInputs = [
@ -25,7 +29,9 @@ buildPythonPackage rec {
--replace "'xbefiles'" "'tests/xbefiles'" --replace "'xbefiles'" "'tests/xbefiles'"
''; '';
pythonImportsCheck = [ "xbe" ]; pythonImportsCheck = [
"xbe"
];
meta = with lib; { meta = with lib; {
description = "Library to work with XBE files"; description = "Library to work with XBE files";