defaultbrowser: init at unstable-2020-07-23
This commit is contained in:
parent
ae1dc133ea
commit
6448399431
26
pkgs/os-specific/darwin/defaultbrowser/default.nix
Normal file
26
pkgs/os-specific/darwin/defaultbrowser/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, Foundation }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "defaultbrowser";
|
||||||
|
version = "unstable-2020-07-23";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kerma";
|
||||||
|
repo = pname;
|
||||||
|
rev = "d2860c00dd7fbb5d615232cc819d7d492a6a6ddb";
|
||||||
|
sha256 = "sha256-SelUQXoKtShcDjq8uKg3wM0kG2opREa2DGQCDd6IsOQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "CC=cc" "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
buildInputs = [ Foundation ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
mainProgram = "defaultbrowser";
|
||||||
|
description = "Command line tool for getting and setting a default browser (HTTP handler) in Mac OS X";
|
||||||
|
homepage = "https://github.com/kerma/defaultbrowser";
|
||||||
|
platforms = platforms.darwin;
|
||||||
|
maintainers = with maintainers; [ Enzime ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -24281,6 +24281,10 @@ with pkgs;
|
||||||
# `.override` clobbered. C.F. `llvmPackages` which does the same.
|
# `.override` clobbered. C.F. `llvmPackages` which does the same.
|
||||||
darwin = callPackage ./darwin-packages.nix { };
|
darwin = callPackage ./darwin-packages.nix { };
|
||||||
|
|
||||||
|
defaultbrowser = callPackage ../os-specific/darwin/defaultbrowser {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||||
|
};
|
||||||
|
|
||||||
disk_indicator = callPackage ../os-specific/linux/disk-indicator { };
|
disk_indicator = callPackage ../os-specific/linux/disk-indicator { };
|
||||||
|
|
||||||
displaylink = callPackage ../os-specific/linux/displaylink {
|
displaylink = callPackage ../os-specific/linux/displaylink {
|
||||||
|
|
Loading…
Reference in a new issue