tahoe-lafs/nix/cbor2.nix

21 lines
457 B
Nix
Raw Normal View History

2021-11-30 18:51:36 +00:00
{ lib, buildPythonPackage, fetchPypi , setuptools_scm }:
2021-11-23 15:44:45 +00:00
buildPythonPackage rec {
pname = "cbor2";
version = "5.2.0";
src = fetchPypi {
2021-11-30 18:18:18 +00:00
sha256 = "1gwlgjl70vlv35cgkcw3cg7b5qsmws36hs4mmh0l9msgagjs4fm3";
2021-11-23 15:44:45 +00:00
inherit pname version;
};
doCheck = false;
2021-11-30 18:51:36 +00:00
nativeBuildInputs = [ setuptools_scm ];
2021-11-23 15:44:45 +00:00
meta = with lib; {
homepage = https://github.com/agronholm/cbor2;
description = "CBOR encoder/decoder";
license = licenses.mit;
};
}