Merge pull request #164789 from fabaff/bump-pyxbe

python3Packages.pyxbe: unstable-2021-01-10 -> 0.0.4
This commit is contained in:
Fabian Affolter 2022-03-19 00:12:23 +01:00 committed by GitHub
commit 0225b78cfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";