python310Packages.linetable: init at 0.0.3
This commit is contained in:
parent
c680c3136d
commit
df473425ca
37
pkgs/development/python-modules/linetable/default.nix
Normal file
37
pkgs/development/python-modules/linetable/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "linetable";
|
||||
version = "0.0.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amol-";
|
||||
repo = "linetable";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-nVZVxK6uB5TP0pReaEya3/lFXFkiqpnnaWqYzxzO6bM=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"linetable"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to parse and generate co_linetable attributes in Python code objects";
|
||||
homepage = "https://github.com/amol-/linetable";
|
||||
changelog = "https://github.com/amol-/linetable/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -5759,6 +5759,8 @@ self: super: with self; {
|
|||
|
||||
line_profiler = callPackage ../development/python-modules/line_profiler { };
|
||||
|
||||
linetable = callPackage ../development/python-modules/linetable { };
|
||||
|
||||
lingua = callPackage ../development/python-modules/lingua { };
|
||||
|
||||
linkify-it-py = callPackage ../development/python-modules/linkify-it-py { };
|
||||
|
|
Loading…
Reference in a new issue