2022-12-15 13:53:34 +01:00
|
|
|
{ lib
|
|
|
|
, pkgs
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "cask-server";
|
2023-05-14 09:12:15 +02:00
|
|
|
version = "0.6.0";
|
2022-12-15 13:53:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Nitrux";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-05-14 09:12:15 +02:00
|
|
|
sha256 = "sha256-XUgLtZMcvzGewtUcgu7FbBCn/1zqOjWvw2AI9gUwWkc=";
|
2022-12-15 13:53:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Public server and API to interface with Cask features";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "CaskServer";
|
2022-12-15 13:53:34 +01:00
|
|
|
homepage = "https://github.com/Nitrux/cask-server";
|
|
|
|
license = with licenses; [
|
|
|
|
bsd2
|
|
|
|
lgpl21Plus
|
|
|
|
cc0
|
|
|
|
];
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|