Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 1.0 kB view raw
1{ lib, fetchPypi, buildPythonPackage, fetchpatch 2, configobj, six, traitsui 3, nose, tables, pandas 4}: 5 6buildPythonPackage rec { 7 pname = "apptools"; 8 version = "4.5.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "10h52ibhr2aw076pivqxiajr9rpcr1mancg6xlpxzckcm3if02i6"; 13 }; 14 15 # PyTables issue; should be merged in next post-4.5.0 release (#117) 16 patches = [ (fetchpatch { 17 url = "https://github.com/enthought/apptools/commit/3734289d1a0ebd8513fa67f75288add31ed0113c.patch"; 18 sha256 = "001012q1ib5cbib3nq1alh9ckzj588bfrywr8brkd1f6y1pgvngk"; 19 }) 20 ]; 21 22 propagatedBuildInputs = [ configobj six traitsui ]; 23 24 checkInputs = [ 25 nose 26 tables 27 pandas 28 ]; 29 30 doCheck = true; 31 checkPhase = ''HOME=$TMP nosetests''; 32 33 meta = with lib; { 34 description = "Set of packages that Enthought has found useful in creating a number of applications."; 35 homepage = "https://github.com/enthought/apptools"; 36 maintainers = with maintainers; [ knedlsepp ]; 37 license = licenses.bsdOriginal; 38 }; 39}