Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 80 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, buildPythonPackage, callPackage, fetchFromGitHub, pytestCheckHook,
setuptools, build, coloredlogs, homf, packaging, pip, pydantic, urllib3, writableTmpDirAsHomeHook,}:
buildPythonPackage rec { pname = "bork"; version = "11.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "duckinator"; repo = "bork"; tag = "v${version}"; hash = "sha256-VashMByAdoRa/uWBGgtsJtd4LcG8hwq/naDXxW+nSg8="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "build" "packaging" "urllib3" ];
dependencies = [ build coloredlogs homf packaging pip pydantic urllib3 ];
pythonImportsCheck = [ "bork" "bork.api" "bork.cli" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestMarks = [ "network" ];
disabledTests = [ # tries to call python -m bork "test_repo" # Attempt to install packages via pip "test_builder_cwd" "test_builder_order" ];
passthru.tests = callPackage ./tests.nix { };
meta = { description = "Python build and release management tool"; mainProgram = "bork"; homepage = "https://github.com/duckinator/bork"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nicoo ]; };}