mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
27 lines
722 B
Nix
27 lines
722 B
Nix
{ 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 = [ ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|