2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:
|
2017-12-08 00:12:47 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "git-annex-metadata-gui";
|
2017-12-08 00:12:47 +00:00
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alpernebbi";
|
|
|
|
repo = "git-annex-metadata-gui";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "03kch67k0q9lcs817906g864wwabkn208aiqvbiyqp1qbg99skam";
|
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
substituteInPlace setup.py --replace "'PyQt5', " ""
|
|
|
|
'';
|
|
|
|
|
2020-10-08 14:08:40 +01:00
|
|
|
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
|
|
|
'';
|
|
|
|
|
2017-12-08 00:12:47 +00:00
|
|
|
propagatedBuildInputs = [ pyqt5 git-annex-adapter ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/alpernebbi/git-annex-metadata-gui";
|
2017-12-08 00:12:47 +00:00
|
|
|
description = "Graphical interface for git-annex metadata commands";
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|