3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/machine-learning/labelimg/default.nix

27 lines
826 B
Nix
Raw Normal View History

2018-04-27 03:01:24 +01:00
{ stdenv, python2Packages, fetchurl }:
python2Packages.buildPythonApplication rec {
2019-08-31 12:41:23 +01:00
pname = "labelImg";
2018-04-27 03:01:24 +01:00
version = "1.6.0";
src = fetchurl {
url = "https://github.com/tzutalin/labelImg/archive/v${version}.tar.gz";
sha256 = "126kc4r7xm9170kh7snqsfkkc868m5bcnswrv7b4cq9ivlrdwbm4";
};
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";
homepage = https://github.com/tzutalin/labelImg;
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.cmcdragonkai ];
};
}