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