Merge pull request #44384 from carlosdagos/tldr-macos
tldr: add support for darwin
This commit is contained in:
commit
3633a2bdd1
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, clang, curl, libzip, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, curl, libzip, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tldr-${version}";
|
||||
@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "10ylpiqc06p0qpma72vwksd7hd107s0vlx9c6s9rz4vc3i274lb6";
|
||||
};
|
||||
|
||||
buildInputs = [ curl clang libzip ];
|
||||
buildInputs = [ curl libzip ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
makeFlags = ["CC=cc" "LD=cc" "CFLAGS="];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@ -24,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = http://tldr-pages.github.io;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ taeer ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ taeer carlosdagos ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user