diff --git a/pkgs/applications/misc/cask-server/default.nix b/pkgs/applications/misc/cask-server/default.nix new file mode 100644 index 000000000000..8a237a14bded --- /dev/null +++ b/pkgs/applications/misc/cask-server/default.nix @@ -0,0 +1,36 @@ +{ lib +, pkgs +, mkDerivation +, fetchFromGitHub +, cmake +, extra-cmake-modules +}: + +mkDerivation rec { + pname = "cask-server"; + version = "0.5.6"; + + src = fetchFromGitHub { + owner = "Nitrux"; + repo = pname; + rev = "refs/tags/v${version}"; + sha256 = "sha256-/dDrJcyp6+r6G3E0KPOEH0hEY9C5XIg1z2gRZV3GZcg="; + }; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + ]; + + meta = with lib; { + description = "Public server and API to interface with Cask features"; + homepage = "https://github.com/Nitrux/cask-server"; + license = with licenses; [ + bsd2 + lgpl21Plus + cc0 + ]; + maintainers = with maintainers; [ onny ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1ea4f90ec106..18cfefae5366 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6019,6 +6019,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; + cask-server = libsForQt5.callPackage ../applications/misc/cask-server { }; + code-browser-qt = libsForQt5.callPackage ../applications/editors/code-browser { withQt = true; }; code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; }; code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; };