nixpkgs-suyu/pkgs/applications/misc/cask-server/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
699 B
Nix
Raw Normal View History

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";
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 ];
};
}