nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "linetable";
10 version = "0.0.3";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "amol-";
15 repo = "linetable";
16 tag = version;
17 hash = "sha256-nVZVxK6uB5TP0pReaEya3/lFXFkiqpnnaWqYzxzO6bM=";
18 };
19
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 pythonImportsCheck = [ "linetable" ];
23
24 meta = {
25 description = "Library to parse and generate co_linetable attributes in Python code objects";
26 homepage = "https://github.com/amol-/linetable";
27 changelog = "https://github.com/amol-/linetable/releases/tag/${version}";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ fab ];
30 };
31}