python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / msgspec / default.nix
blob1af1b9814a160b688eebe321fbc04807bb617796
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "msgspec";
11   version = "0.18.6";
12   pyproject = true;
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "jcrist";
18     repo = "msgspec";
19     rev = "refs/tags/${version}";
20     hash = "sha256-xqtV60saQNINPMpOnZRSDnicedPSPBUQwPSE5zJGrTo=";
21   };
23   nativeBuildInputs = [ setuptools ];
25   # Requires libasan to be accessible
26   doCheck = false;
28   pythonImportsCheck = [ "msgspec" ];
30   meta = with lib; {
31     description = "Module to handle JSON/MessagePack";
32     homepage = "https://github.com/jcrist/msgspec";
33     changelog = "https://github.com/jcrist/msgspec/releases/tag/${version}";
34     license = licenses.bsd3;
35     maintainers = with maintainers; [ fab ];
36   };