mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python3Packages.rising: init at 0.2.0post0
This commit is contained in:
parent
6e4908a52d
commit
8403806a39
38
pkgs/development/python-modules/rising/default.nix
Normal file
38
pkgs/development/python-modules/rising/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, dill
|
||||
, numpy
|
||||
, pytorch
|
||||
, threadpoolctl
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rising";
|
||||
version = "0.2.0post0";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PhoenixDL";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0fb9894ppcp18wc2dhhjizj8ja53gbv9wpql4mixxxdz8z2bn33c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy pytorch threadpoolctl tqdm ];
|
||||
checkInputs = [ dill pytestcov pytestCheckHook ];
|
||||
|
||||
disabledTests = [ "test_affine" ]; # deprecated division operator '/'
|
||||
|
||||
meta = {
|
||||
description = "High-performance data loading and augmentation library in PyTorch";
|
||||
homepage = "https://rising.rtfd.io";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -6115,6 +6115,8 @@ in {
|
||||
|
||||
ripser = callPackage ../development/python-modules/ripser { };
|
||||
|
||||
rising = callPackage ../development/python-modules/rising { };
|
||||
|
||||
rivet = disabledIf (!isPy3k) (toPythonModule (pkgs.rivet.override { python3 = python; }));
|
||||
|
||||
rjsmin = callPackage ../development/python-modules/rjsmin { };
|
||||
|
Loading…
Reference in New Issue
Block a user