about summary refs log tree commit diff
path: root/pkgs/development/python-modules/memestra/default.nix
blob: db7d4e254a7385ac63527fd6f668b086f4021454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ lib
, buildPythonPackage
, fetchPypi
, beniget
, frilouz
, gast
, nbconvert
, nbformat
, pythonOlder
, pyyaml
}:

buildPythonPackage rec {
  pname = "memestra";
  version = "0.2.1";
  format = "setuptools";

  disabled = pythonOlder "3.4";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-6shwf9BoDfZMy0itP8esNP4ov6fw6LJpO3Y5ZahwDZw=";
  };

  propagatedBuildInputs = [
    gast
    beniget
    frilouz
    nbconvert
    nbformat
    pyyaml
  ];

  # Tests are not detected and so the checkPhase fails
  doCheck = false;

  pythonImportsCheck = [
    "memestra"
  ];

  meta = with lib; {
    description = "A linter that tracks reference to deprecated functions.";
    homepage = "https://github.com/QuantStack/memestra";
    license = licenses.bsd3;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}