Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 717 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, zetup 5, six 6, moretools 7, pathpy 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "modeled"; 13 version = "0.1.8"; 14 15 src = fetchPypi { 16 extension = "zip"; 17 inherit pname version; 18 sha256 = "64934c68cfcdb75ed4a1ccadcfd5d2a46bf1b8e8e81dde89ef0f042c401e94f1"; 19 }; 20 21 buildInputs = [ 22 zetup 23 ]; 24 25 propagatedBuildInputs = [ 26 six 27 moretools 28 pathpy 29 ]; 30 31 checkInputs = [ 32 pytest 33 ]; 34 35 checkPhase = '' 36 pytest test 37 ''; 38 39 meta = with lib; { 40 description = "Universal data modeling for Python"; 41 homepage = "https://bitbucket.org/userzimmermann/python-modeled"; 42 license = licenses.lgpl3; 43 maintainers = [ maintainers.costrouc ]; 44 }; 45}