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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "tldr-${version}";
|
name = "tldr-${version}";
|
||||||
@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "10ylpiqc06p0qpma72vwksd7hd107s0vlx9c6s9rz4vc3i274lb6";
|
sha256 = "10ylpiqc06p0qpma72vwksd7hd107s0vlx9c6s9rz4vc3i274lb6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ curl clang libzip ];
|
buildInputs = [ curl libzip ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
makeFlags = ["CC=cc" "LD=cc" "CFLAGS="];
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -24,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
homepage = http://tldr-pages.github.io;
|
homepage = http://tldr-pages.github.io;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ taeer ];
|
maintainers = with maintainers; [ taeer carlosdagos ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user