python.pkgs.odo: move expression
This commit is contained in:
parent
119a58abbe
commit
d4bf9684b7
36
pkgs/development/python-modules/odo/default.nix
Normal file
36
pkgs/development/python-modules/odo/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, datashape
|
||||||
|
, numpy
|
||||||
|
, pandas
|
||||||
|
, toolz
|
||||||
|
, multipledispatch
|
||||||
|
, networkx
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "odo";
|
||||||
|
version= "0.5.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1mh5k69d9ph9jd07jl9yqh78rbnh5cjspi1q530v3ml7ivjzz4p8";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ datashape numpy pandas toolz multipledispatch networkx ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test odo/tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/ContinuumIO/odo;
|
||||||
|
description = "Data migration utilities";
|
||||||
|
license = lib.licenses.bsdOriginal;
|
||||||
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
|
};
|
||||||
|
}
|
@ -13453,29 +13453,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
odo = buildPythonPackage rec {
|
odo = callPackage ../development/python-modules/odo { };
|
||||||
name = "odo-${version}";
|
|
||||||
version= "0.5.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/o/odo/${name}.tar.gz";
|
|
||||||
sha256 = "1mh5k69d9ph9jd07jl9yqh78rbnh5cjspi1q530v3ml7ivjzz4p8";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
propagatedBuildInputs = with self; [ datashape numpy pandas toolz multipledispatch networkx ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test odo/tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/ContinuumIO/odo;
|
|
||||||
description = "Data migration utilities";
|
|
||||||
license = licenses.bsdOriginal;
|
|
||||||
maintainers = with maintainers; [ fridh ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
offtrac = buildPythonPackage rec {
|
offtrac = buildPythonPackage rec {
|
||||||
name = "offtrac-0.1.0";
|
name = "offtrac-0.1.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user