Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
844 B · 42 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pyxbe"; version = "1.0.1"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "mborgerson"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-oOY0g1F5sxGUxXAT19Ygq5q7pnxEhIAKmyYELR1PHEA="; };
nativeCheckInputs = [ 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 ]; };}