Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / linetable / default.nix
blob6c1cde30e6f09465797969b63dc7933496cf6889
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "linetable";
10   version = "0.0.3";
11   format = "setuptools";
13   disabled = pythonOlder "3.10";
15   src = fetchFromGitHub {
16     owner = "amol-";
17     repo = "linetable";
18     rev = "refs/tags/${version}";
19     hash = "sha256-nVZVxK6uB5TP0pReaEya3/lFXFkiqpnnaWqYzxzO6bM=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "linetable"
28   ];
30   meta = with lib; {
31     description = "Library to parse and generate co_linetable attributes in Python code objects";
32     homepage = "https://github.com/amol-/linetable";
33     changelog = "https://github.com/amol-/linetable/releases/tag/${version}";
34     license = licenses.mit;
35     maintainers = with maintainers; [ fab ];
36   };