1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/development/python-modules/datashape/default.nix
2017-10-29 13:42:11 +01:00

34 lines
690 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, mock
, numpy
, multipledispatch
, dateutil
}:
buildPythonPackage rec {
pname = "datashape";
version = "0.5.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "2356ea690c3cf003c1468a243a9063144235de45b080b3652de4f3d44e57d783";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ numpy multipledispatch dateutil ];
checkPhase = ''
py.test datashape/tests
'';
meta = {
homepage = https://github.com/ContinuumIO/datashape;
description = "A data description language";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fridh ];
};
}