diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/ocs-url')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/ocs-url/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/ocs-url/default.nix b/nixpkgs/pkgs/tools/misc/ocs-url/default.nix new file mode 100644 index 000000000000..0544bb6829eb --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/ocs-url/default.nix @@ -0,0 +1,43 @@ +{ lib, stdenv, fetchgit, libsForQt5 }: + +stdenv.mkDerivation rec { + pname = "ocs-url"; + version = "3.1.0"; + + srcs = [ + (fetchgit { + url = "https://www.opencode.net/dfn2/ocs-url.git"; + rev = "release-${version}"; + sha256 = "RvbkcSj8iUAHAEOyETwfH+3XnCCY/p8XM8LgVrZxrws="; + }) + + (fetchgit { + url = "https://github.com/akiraohgaki/qtil"; + rev = "v0.4.0"; + sha256 = "XRSp0F7ggfkof1RNAnQU3+O9DcXDy81VR7NakITOXrw="; + }) + ]; + + sourceRoot = "ocs-url"; + + buildInputs = with libsForQt5.qt5; [ + qtbase + qtsvg + qtquickcontrols + qmake + wrapQtAppsHook + ]; + + # We are NOT in $sourceRoot here + postUnpack = '' + mkdir -p $sourceRoot/lib/qtil + cp -r qtil/* $sourceRoot/lib/qtil/ + ''; + + meta = with lib; { + description = "Open Collaboration System for use with DE store websites"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ SohamG ]; + platforms = platforms.linux; + }; +} |