Skip to content

Commit

Permalink
pythonPackages.labelbox: init at 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakesh4G authored and Jon committed Oct 31, 2019
1 parent a17f727 commit 6b46338
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/labelbox/default.nix
@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, jinja2
, pillow
, rasterio
, shapely
}:

buildPythonPackage rec {
pname = "labelbox";
version = "2.1";

src = fetchPypi {
inherit pname version;
sha256 = "f97f01bf030b115d8b7f7b12a10ec5efe54750ad66b6b3567550b517a543ad11";
};

propagatedBuildInputs = [ jinja2 requests pillow rasterio shapely ];

# Test cases are not running on pypi or GitHub
doCheck = false;

meta = with lib; {
homepage = https://github.com/Labelbox/Labelbox;
description = "Platform API for LabelBox";
license = licenses.asl20;
maintainers = with maintainers; [ rakesh4g ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -715,6 +715,8 @@ in {
jwcrypto = callPackage ../development/python-modules/jwcrypto { };

kconfiglib = callPackage ../development/python-modules/kconfiglib { };

labelbox = callPackage ../development/python-modules/labelbox { };

lammps-cython = callPackage ../development/python-modules/lammps-cython {
mpi = pkgs.openmpi;
Expand Down

0 comments on commit 6b46338

Please sign in to comment.