Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
998 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder,
# build-system cython, poetry-core, setuptools,
# checks pytestCheckHook,}:
buildPythonPackage rec { pname = "convertertools"; version = "0.5.0"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "convertertools"; rev = "v${version}"; hash = "sha256-g4dSJjogMBC8wqvbYDjDP6YihxuG7PQn/jwrrBFOt80="; };
postPatch = '' sed -i "/--cov/d" pyproject.toml '';
build-system = [ cython poetry-core setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "convertertools" ];
meta = with lib; { description = "Tools for converting python data types"; homepage = "https://github.com/bluetooth-devices/convertertools"; changelog = "https://github.com/bluetooth-devices/convertertools/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = [ ]; };}