mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
Merge master into staging-next
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, setuptools_scm }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, setuptools_scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cbor2";
|
||||
@@ -10,12 +16,16 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
|
||||
checkPhase = "pytest";
|
||||
checkInputs = [
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cbor2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python CBOR (de)serializer with extensive tag support";
|
||||
description = "Python CBOR (de)serializer with extensive tag support";
|
||||
homepage = "https://github.com/agronholm/cbor2";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ taneb ];
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-blind-except";
|
||||
version = "0.1.1";
|
||||
version = "0.2.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16g58mkr3fcn2vlfhp3rlahj93qswc7jd5qrqp748mc26dk3b8xc";
|
||||
sha256 = "02a860a1a19cb602c006a3fe0778035b0d14d3f57929b4b798bc7d6684f204e5";
|
||||
};
|
||||
meta = {
|
||||
homepage = "https://github.com/elijahandrews/flake8-blind-except";
|
||||
|
||||
Reference in New Issue
Block a user