at 23.11-beta 944 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6 7, build 8, coloredlogs 9, packaging 10, pip 11, toml 12, twine 13, wheel 14}: 15 16buildPythonPackage rec { 17 pname = "bork"; 18 version = "7.0.1"; 19 pyproject = true; 20 disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "duckinator"; 24 repo = pname; 25 rev = "refs/tags/v${version}"; 26 hash = "sha256-y/p2uuU+QKgJSdJmMt3oebm/zcuatYWTW8Jl79YxA3g="; 27 }; 28 29 propagatedBuildInputs = [ 30 build 31 coloredlogs 32 packaging 33 pip 34 toml 35 twine 36 wheel 37 ]; 38 39 pythonImportsCheck = [ 40 "bork" 41 "bork.api" 42 "bork.cli" 43 ]; 44 45 nativeCheckInputs = [ 46 pytestCheckHook 47 ]; 48 pytestFlagsArray = [ 49 "-m 'not network'" 50 ]; 51 52 meta = with lib; { 53 description = "Python build and release management tool"; 54 homepage = "https://github.com/duckinator/bork"; 55 maintainers = with maintainers; [ nicoo ]; 56 platforms = platforms.all; 57 }; 58}