Merge pull request #180348 from SohamG/master

Add derivation for ocs-url
This commit is contained in:
Sergei Trofimovich 2022-07-08 21:14:03 +01:00 committed by GitHub
commit 03e2b3c780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 0 deletions

View file

@ -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";

View file

@ -0,0 +1,43 @@
{ 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;
};
}

View file

@ -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 { };