Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
992 B · 54 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, stdenv, buildPythonPackage, fetchPypi, pythonOlder,
# build-system setuptools, setuptools-scm,
# tests hypothesis, pytestCheckHook,}:
buildPythonPackage rec { pname = "cbor2"; version = "5.6.3"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-5vCuJ1HC0zOpYOCAfAYRSU6xJFYxoWeWWsvBAFCUVdM="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov" "" '';
nativeBuildInputs = [ setuptools setuptools-scm ];
pythonImportsCheck = [ "cbor2" ];
nativeCheckInputs = [ hypothesis pytestCheckHook ];
meta = with lib; { changelog = "https://github.com/agronholm/cbor2/releases/tag/${version}"; description = "Python CBOR (de)serializer with extensive tag support"; mainProgram = "cbor2"; homepage = "https://github.com/agronholm/cbor2"; license = licenses.mit; maintainers = with maintainers; [ ]; };}