mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-06 21:09:22 +02:00
esp8266
This commit is contained in:
parent
e076fef5e9
commit
eb8f7dafa1
3 changed files with 108 additions and 1 deletions
46
packages/esp8266.nix
Normal file
46
packages/esp8266.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
autoPatchelfHook,
|
||||
gcc,
|
||||
git,
|
||||
ncurses,
|
||||
flex,
|
||||
bison,
|
||||
gperf,
|
||||
python3,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "esp8266";
|
||||
version = "2020r3";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://dl.espressif.com/dl/xtensa-lx106-elf-gcc8_4_0-esp-${version}-linux-amd64.tar.gz";
|
||||
hash = "sha256-6to5phSx3E2D/qIbN+Nci9qkCTsGT18veFpcKAC1IfA=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/
|
||||
mv ./* $out/
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
autoPatchelfIgnoreMissingDeps = [ "libpython2.7.so.1.0" ];
|
||||
|
||||
meta = {
|
||||
description = "Hacks to make HDR work in games on KDE";
|
||||
homepage = "https://github.com/Zamundaaa/VK_hdr_layer";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ jopejoe1 ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue