Unverified Commit 03e2b3c7 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by GitHub
Browse files

Merge pull request #180348 from SohamG/master

Add derivation for ocs-url
parents 0a9f100d 1087880e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -14600,6 +14600,15 @@
    github = "snpschaaf";
    githubId = 105843013;
  };
  SohamG = {
    email = "sohamg2@gmail.com";
    name = "Soham S Gumaste";
    github = "SohamG";
    githubId = 7116239;
    keys = [{
      fingerprint = "E067 520F 5EF2 C175 3F60  50C0 BA46 725F 6A26 7442";
    }];
  };
  jali-clarke = {
    email = "jinnah.ali-clarke@outlook.com";
    name = "Jinnah Ali-Clarke";
+43 −0
Original line number Diff line number Diff line
{ lib, stdenv, fetchgit, libsForQt5 }:

stdenv.mkDerivation rec {
  name = "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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1244,6 +1244,8 @@ with pkgs;
  nominatim = callPackage ../servers/nominatim { };
  ocs-url = libsForQt5.callPackage ../tools/misc/ocs-url { };
  pferd = callPackage ../tools/misc/pferd {};
  qFlipper = libsForQt515.callPackage ../tools/misc/qflipper { };