94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
36 lines
667 B
Nix
36 lines
667 B
Nix
{ lib
|
|
, pkgs
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "cask-server";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Nitrux";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-XUgLtZMcvzGewtUcgu7FbBCn/1zqOjWvw2AI9gUwWkc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|