discrete-scroll: rename from darwin.discrete-scroll

This commit is contained in:
Weijia Wang 2024-11-27 00:35:26 +01:00
parent 1d5b7f4edc
commit a2430c57d7
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, Cocoa }:
{ stdenv, lib, fetchFromGitHub }:
## after launching for the first time, grant access for parent application (e.g. Terminal.app)
## from 'system preferences >> security & privacy >> accessibility'
@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
sha256 = "0aqkp4kkwjlkll91xbqwf8asjww8ylsdgqvdk8d06bwdvg2cgvhg";
};
buildInputs = [ Cocoa ];
buildPhase = ''
cc -std=c99 -O3 -Wall -framework Cocoa -o dc DiscreteScroll/main.m
'';

View File

@ -59,6 +59,10 @@ mapAliases ({
cctools-llvm = pkgs.cctools; # added 2024-07-01
cctools-port = pkgs.cctools; # added 2024-07-17
### D ###
discrete-scroll = pkgs.discrete-scroll; # added 2024-11-27
### I ###
insert_dylib = throw "'darwin.insert_dylib' has been renamed to 'insert-dylib'"; # added 2024-04-04

View File

@ -239,8 +239,6 @@ impure-cmds // apple-source-packages // apple-source-headers // stubs // {
ios-deploy = callPackage ../os-specific/darwin/ios-deploy {};
discrete-scroll = callPackage ../os-specific/darwin/discrete-scroll { };
# See doc/packages/darwin-builder.section.md
linux-builder = lib.makeOverridable ({ modules }:
let