python3Packages.traittypes: init at unstable-2019-06-23
This commit is contained in:
parent
7397d8421e
commit
7ecde8b92b
47
pkgs/development/python-modules/traittypes/default.nix
Normal file
47
pkgs/development/python-modules/traittypes/default.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, isPy27
|
||||||
|
, pytest
|
||||||
|
, nose
|
||||||
|
, numpy
|
||||||
|
, scipy
|
||||||
|
, pandas
|
||||||
|
, xarray
|
||||||
|
, traitlets
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "traittypes";
|
||||||
|
version = "unstable-2019-06-23";
|
||||||
|
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jupyter-widgets";
|
||||||
|
repo = pname;
|
||||||
|
rev = "0a030b928991dec732c17a7a1cb13acbcd7650a2";
|
||||||
|
sha256 = "0rlm5krmq6n8yi47dgdsjyrkz3m079pndpbzkz2gx98pb3jd9pjs";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-intarray-test.patch";
|
||||||
|
url = "https://github.com/minrk/traittypes/commit/a02441e5b259e5858453a853207260c9bd4efbb5.patch";
|
||||||
|
sha256 = "120dsvr5nksizw75z1ah3h38mi399fxbvz5anakica557jahi0aw";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ traitlets ];
|
||||||
|
|
||||||
|
checkInputs = [ numpy pandas xarray nose pytest ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Trait types for NumPy, SciPy, XArray, and Pandas";
|
||||||
|
homepage = "https://github.com/jupyter-widgets/traittypes";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -5876,6 +5876,8 @@ in {
|
|||||||
|
|
||||||
traitlets = callPackage ../development/python-modules/traitlets { };
|
traitlets = callPackage ../development/python-modules/traitlets { };
|
||||||
|
|
||||||
|
traittypes = callPackage ../development/python-modules/traittypes { };
|
||||||
|
|
||||||
transitions = callPackage ../development/python-modules/transitions { };
|
transitions = callPackage ../development/python-modules/transitions { };
|
||||||
|
|
||||||
extras = callPackage ../development/python-modules/extras { };
|
extras = callPackage ../development/python-modules/extras { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user