mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
38 lines
699 B
Nix
38 lines
699 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";
|
|
mainProgram = "CaskServer";
|
|
homepage = "https://github.com/Nitrux/cask-server";
|
|
license = with licenses; [
|
|
bsd2
|
|
lgpl21Plus
|
|
cc0
|
|
];
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
|
|
}
|