docparser: init at 1.0.3

authored by rewine and committed by rewine 211d1584 7d5b5077

+41
+1
pkgs/desktops/deepin/default.nix
··· 12 qt5platform-plugins = callPackage ./library/qt5platform-plugins { }; 13 qt5integration = callPackage ./library/qt5integration { }; 14 disomaster = callPackage ./library/disomaster { }; 15 }; 16 in 17 lib.makeScope libsForQt5.newScope packages
··· 12 qt5platform-plugins = callPackage ./library/qt5platform-plugins { }; 13 qt5integration = callPackage ./library/qt5integration { }; 14 disomaster = callPackage ./library/disomaster { }; 15 + docparser = callPackage ./library/docparser { }; 16 }; 17 in 18 lib.makeScope libsForQt5.newScope packages
+40
pkgs/desktops/deepin/library/docparser/default.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , pkg-config 5 + , qmake 6 + , qttools 7 + , wrapQtAppsHook 8 + , poppler 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "docparser"; 13 + version = "1.0.3"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "linuxdeepin"; 17 + repo = pname; 18 + rev = version; 19 + sha256 = "sha256-iWRWSu8fALTTLLWdQGbpunN/1tpvKxuN/ZWJg34x0mU="; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + qmake 24 + qttools 25 + pkg-config 26 + wrapQtAppsHook 27 + ]; 28 + 29 + buildInputs = [ poppler ]; 30 + 31 + qmakeFlags = [ "VERSION=${version}" ]; 32 + 33 + meta = with lib; { 34 + description = "A document parser library ported from document2html"; 35 + homepage = "https://github.com/linuxdeepin/docparser"; 36 + license = licenses.gpl3Plus; 37 + platforms = platforms.linux; 38 + maintainers = teams.deepin.members; 39 + }; 40 + }