about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/envisage/default.nix
blob: 20051804328ba50b9496e756ebbdb838bda05791 (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
{ lib, fetchPypi, isPy27
, buildPythonPackage
, traits, apptools, pytestCheckHook
, ipykernel, ipython, setuptools
}:

buildPythonPackage rec {
  pname = "envisage";
  version = "6.0.1";

  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c";
  };

  propagatedBuildInputs = [ traits apptools setuptools ];

  preCheck = ''
    export HOME=$PWD/HOME
  '';

  checkInputs = [
    ipykernel ipython pytestCheckHook
  ];

  meta = with lib; {
    description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";
    homepage = "https://github.com/enthought/envisage";
    maintainers = with lib.maintainers; [ knedlsepp ];
    license = licenses.bsdOriginal;
  };
}