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": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1639442420, "lastModified": 1639807448,
"narHash": "sha256-GL4Q5gDXDHxLPZD1Rg8kk6M6S+NqxDjTu0XqGF/Xhuc=", "narHash": "sha256-VA9twSpyM0e5Y5XAm20y5Vg6avky+imzfr65FoFq0G0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "69958994ab2c4c41f82db658ae6333b91079bcf6", "rev": "2d555e5f6529d8485ea7ccdbd3633cf1681eaa2e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -10,6 +10,7 @@
] ]
(system: import ./packages.nix { (system: import ./packages.nix {
inherit system; inherit system;
inherit (nixpkgs) lib;
pkgs = nixpkgs.legacyPackages.${system}; 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 { pkgs.stdenv.mkDerivation {
pname = "cliclick"; pname = "cliclick";
@ -27,4 +27,11 @@ pkgs.stdenv.mkDerivation {
mkdir -p $out/bin mkdir -p $out/bin
cp cliclick $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" ];
};
} }