at master 821 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hypothesis, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "osrparse"; 12 version = "7.0.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "kszlim"; 17 repo = "osu-replay-parser"; 18 tag = "v${version}"; 19 hash = "sha256-MBE4z1SDkr0YA5ommF+WZyR2N67Y1/xmDhxrTrUhQJk="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ 25 hypothesis 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "osrparse" ]; 30 31 meta = { 32 description = "Parser for osr (osu! replays) file format"; 33 homepage = "https://github.com/kszlim/osu-replay-parser"; 34 changelog = "https://github.com/kszlim/osu-replay-parser/releases/tag/${src.tag}"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ wulpine ]; 37 }; 38}