nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 37 lines 689 B view raw
1{ 2 lib, 3 mkDerivation, 4 fetchFromGitHub, 5 cmake, 6 extra-cmake-modules, 7}: 8 9mkDerivation rec { 10 pname = "cask-server"; 11 version = "0.6.0"; 12 13 src = fetchFromGitHub { 14 owner = "Nitrux"; 15 repo = pname; 16 tag = "v${version}"; 17 sha256 = "sha256-XUgLtZMcvzGewtUcgu7FbBCn/1zqOjWvw2AI9gUwWkc="; 18 }; 19 20 nativeBuildInputs = [ 21 cmake 22 extra-cmake-modules 23 ]; 24 25 meta = with lib; { 26 description = "Public server and API to interface with Cask features"; 27 mainProgram = "CaskServer"; 28 homepage = "https://github.com/Nitrux/cask-server"; 29 license = with licenses; [ 30 bsd2 31 lgpl21Plus 32 cc0 33 ]; 34 maintainers = with maintainers; [ onny ]; 35 }; 36 37}