mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #30780 from veprbl/rootpy_1.0.1
add pythonPackages.root_numpy, bump python2Packages.rootpy
This commit is contained in:
commit
aaebcef6b2
3 changed files with 48 additions and 18 deletions
23
pkgs/development/python-modules/root_numpy/default.nix
Normal file
23
pkgs/development/python-modules/root_numpy/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, root }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "root_numpy";
|
||||
version = "4.7.3";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0vy6mqmkddfv46yc4hp43fvaisn3yw92ryaw031k841hhj73q0xg";
|
||||
};
|
||||
|
||||
disabled = isPy3k; # blocked by #27649
|
||||
|
||||
propagatedBuildInputs = [ numpy root ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://scikit-hep.org/root_numpy;
|
||||
license = licenses.bsd3;
|
||||
description = "The interface between ROOT and NumPy";
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
23
pkgs/development/python-modules/rootpy/default.nix
Normal file
23
pkgs/development/python-modules/rootpy/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, matplotlib, root, root_numpy, tables }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rootpy";
|
||||
version = "1.0.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zp2bh87l3f0shiqslbvfmavfdj8m80y8fsrz8rsi5pzqj7zr1bx";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ matplotlib numpy root root_numpy tables ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://www.rootpy.org;
|
||||
license = licenses.bsd3;
|
||||
description = "Pythonic interface to the ROOT framework";
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
|
@ -18874,25 +18874,9 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
rootpy = buildPythonPackage rec {
|
||||
version = "0.9.0";
|
||||
name = "rootpy-${version}";
|
||||
root_numpy = callPackage ../development/python-modules/root_numpy { };
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/r/rootpy/${name}.tar.gz";
|
||||
sha256 = "04alx6afiyahhv816f6zpwnm0sx2jxgqpgqcn6kdw0wnpc9625cr";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = with self; [ pkgs.root numpy matplotlib ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.rootpy.org";
|
||||
license = licenses.gpl3;
|
||||
description = "Pythonic interface to the ROOT framework";
|
||||
};
|
||||
};
|
||||
rootpy = callPackage ../development/python-modules/rootpy { };
|
||||
|
||||
rope = buildPythonPackage rec {
|
||||
version = "0.10.2";
|
||||
|
|
Loading…
Reference in a new issue