1
0
Fork 0

Add meta information to cliclick

This commit is contained in:
Daniel Kempkens 2021-12-18 19:41:03 +01:00
parent ff7834be49
commit 5663448d48
4 changed files with 14 additions and 6 deletions

View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1639442420,
"narHash": "sha256-GL4Q5gDXDHxLPZD1Rg8kk6M6S+NqxDjTu0XqGF/Xhuc=",
"lastModified": 1639807448,
"narHash": "sha256-VA9twSpyM0e5Y5XAm20y5Vg6avky+imzfr65FoFq0G0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "69958994ab2c4c41f82db658ae6333b91079bcf6",
"rev": "2d555e5f6529d8485ea7ccdbd3633cf1681eaa2e",
"type": "github"
},
"original": {

View file

@ -10,6 +10,7 @@
]
(system: import ./packages.nix {
inherit system;
inherit (nixpkgs) lib;
pkgs = nixpkgs.legacyPackages.${system};
});

View file

@ -1,5 +1,5 @@
{ system, pkgs }:
{ system, lib, pkgs }:
{
cliclick = import ./packages/cliclick.nix { inherit system pkgs; };
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
}

View file

@ -1,4 +1,4 @@
{ system, pkgs }:
{ system, lib, pkgs }:
pkgs.stdenv.mkDerivation {
pname = "cliclick";
@ -27,4 +27,11 @@ pkgs.stdenv.mkDerivation {
mkdir -p $out/bin
cp cliclick $out/bin
'';
meta = with lib; {
description = "macOS CLI tool for emulating mouse and keyboard events";
homepage = "https://github.com/BlueM/cliclick";
license = licenses.bsd3;
platforms = [ "x86_64-darwin" "aarch64-darwin" ];
};
}