1{ lib
2, buildPythonPackage
3, fetchPypi
4, beniget
5, frilouz
6, gast
7, nbconvert
8, nbformat
9, pythonOlder
10, pyyaml
11}:
12
13buildPythonPackage rec {
14 pname = "memestra";
15 version = "0.2.1";
16
17 disabled = pythonOlder "3.4";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-6shwf9BoDfZMy0itP8esNP4ov6fw6LJpO3Y5ZahwDZw=";
22 };
23
24 propagatedBuildInputs = [
25 gast
26 beniget
27 frilouz
28 nbconvert
29 nbformat
30 pyyaml
31 ];
32
33 # Tests are not detected and so the checkPhase fails
34 doCheck = false;
35
36 pythonImportsCheck = [
37 "memestra"
38 ];
39
40 meta = with lib; {
41 description = "A linter that tracks reference to deprecated functions.";
42 homepage = "https://github.com/QuantStack/memestra";
43 license = licenses.bsd3;
44 maintainers = with maintainers; [ GaetanLepage ];
45 };
46}