2018-04-27 03:01:24 +01:00
|
|
|
{ stdenv, python2Packages, fetchurl }:
|
|
|
|
python2Packages.buildPythonApplication rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "labelImg";
|
2020-01-17 07:47:44 +00:00
|
|
|
version = "1.8.1";
|
2018-04-27 03:01:24 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/tzutalin/labelImg/archive/v${version}.tar.gz";
|
2020-01-17 07:47:44 +00:00
|
|
|
sha256 = "1banpkpbrny1jx3zsgs544xai62z5yvislbq782a5r47gv2f2k4a";
|
2018-04-27 03:01:24 +01:00
|
|
|
};
|
2019-03-15 19:50:03 +00:00
|
|
|
nativeBuildInputs = with python2Packages; [
|
|
|
|
pyqt4
|
|
|
|
];
|
2018-04-27 03:01:24 +01:00
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/tzutalin/labelImg";
|
2018-04-27 03:01:24 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.cmcdragonkai ];
|
|
|
|
};
|
|
|
|
}
|