ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / msgspec / default.nix
blob6ec4772611f8990f759fa1f6eafc16d21ed6c4d0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , msgpack
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "msgspec";
11   version = "0.9.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "jcrist";
18     repo = pname;
19     rev = version;
20     hash = "sha256-q7WNVnkvK7MTleHEuClOFJ0Wv6EWu/3ztMi6TYdKgKU=";
21   };
23   # Requires libasan to be accessible
24   doCheck = false;
26   pythonImportsCheck = [
27     "msgspec"
28   ];
30   meta = with lib; {
31     description = "Module to handle JSON/MessagePack";
32     homepage = "https://github.com/jcrist/msgspec";
33     license = licenses.bsd3;
34     maintainers = with maintainers; [ fab ];
35   };