Add meta information to cliclick
This commit is contained in:
parent
ff7834be49
commit
5663448d48
4 changed files with 14 additions and 6 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -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; };
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue