Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
918 B · 41 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "in-place"; version = "1.0.0"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "jwodder"; repo = "inplace"; rev = "refs/tags/v${version}"; hash = "sha256-TfWfSb1GslzcT30/xvBg5Xui7ptp7+g89Fq/giLCoQ8="; };
postPatch = '' substituteInPlace tox.ini --replace "--cov=in_place --no-cov-on-fail" "" '';
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "in_place" ];
meta = with lib; { description = "In-place file processing"; homepage = "https://github.com/jwodder/inplace"; changelog = "https://github.com/jwodder/inplace/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ samuela ]; };}