python3Packages.pyxbe: unstable-2021-01-10
This commit is contained in:
parent
5ba1edf6c8
commit
b2ca9d14af
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/pyxbe/default.nix
Normal file
36
pkgs/development/python-modules/pyxbe/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyxbe";
|
||||
version = "unstable-2021-01-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mborgerson";
|
||||
repo = pname;
|
||||
rev = "a7ae1bb21b02a57783831eb080c1edbafaad1d5d";
|
||||
sha256 = "1cp9a5f41z8j7bzip6nhka8qnxs12v75cdf80sk2nzgf1k15wi2p";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Update location for run with pytest
|
||||
preCheck = ''
|
||||
substituteInPlace tests/test_load.py \
|
||||
--replace "'xbefiles'" "'tests/xbefiles'"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "xbe" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to work with XBE files";
|
||||
homepage = "https://github.com/mborgerson/pyxbe";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -7005,6 +7005,8 @@ in {
|
|||
|
||||
pyx = callPackage ../development/python-modules/pyx { };
|
||||
|
||||
pyxbe = callPackage ../development/python-modules/pyxbe { };
|
||||
|
||||
pyxdg = callPackage ../development/python-modules/pyxdg { };
|
||||
|
||||
pyxeoma = callPackage ../development/python-modules/pyxeoma { };
|
||||
|
|
Loading…
Reference in a new issue