labelImg: init at 1.6.0

This commit is contained in:
Roger Qiu 2018-04-27 12:01:24 +10:00
parent 88695c6e94
commit ff3b88713c
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ stdenv, python2Packages, fetchurl }:
python2Packages.buildPythonApplication rec {
name = "labelImg-${version}";
version = "1.6.0";
src = fetchurl {
url = "https://github.com/tzutalin/labelImg/archive/v${version}.tar.gz";
sha256 = "126kc4r7xm9170kh7snqsfkkc868m5bcnswrv7b4cq9ivlrdwbm4";
};
propagatedBuildInputs = with python2Packages; [
pyqt4
lxml
];
preBuild = ''
make qt4py2
'';
meta = with stdenv.lib; {
description = "LabelImg is a graphical image annotation tool and label object bounding boxes in images";
homepage = https://github.com/tzutalin/labelImg;
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.cmcdragonkai ];
};
}

View file

@ -12428,6 +12428,8 @@ with pkgs;
lwan = callPackage ../servers/http/lwan { };
labelImg = callPackage ../applications/science/machine-learning/labelimg { };
mailman = callPackage ../servers/mail/mailman { };
mattermost = callPackage ../servers/mattermost { };