uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonApplication, fetchPypi, python3Packages }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "remarkable-mouse";
|
||||
version = "7.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-kpKA3vrQo45Y6Qy6mcjJxJY3dpXV0ckNIfKdDVS5qhM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ screeninfo paramiko pynput libevdev ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "remarkable_mouse" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A program to use a reMarkable as a graphics tablet";
|
||||
homepage = "https://github.com/evidlo/remarkable_mouse";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
};
|
||||
}
|
||||
59
pkgs/applications/misc/remarkable/restream/default.nix
Normal file
59
pkgs/applications/misc/remarkable/restream/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib
|
||||
, bash
|
||||
, stdenv
|
||||
, lz4
|
||||
, ffmpeg-full
|
||||
, fetchFromGitHub
|
||||
, openssh
|
||||
, netcat
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "restream";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rien";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0vyj0kng8c9inv2rbw1qdr43ic15s5x8fvk9mbw0vpc6g723x99g";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ${src}/restream.arm.static $out/libexec/restream.arm.static
|
||||
install -D ${src}/reStream.sh $out/bin/restream
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = let
|
||||
deps = [
|
||||
# `ffmpeg-full` is used here to bring in `ffplay`, which is used
|
||||
# to display the reMarkable framebuffer
|
||||
ffmpeg-full
|
||||
lz4
|
||||
openssh
|
||||
# Libressl netcat brings in `nc` which used for --uncompressed mode.
|
||||
netcat
|
||||
];
|
||||
in ''
|
||||
# This `sed` command has the same effect as `wrapProgram`, except
|
||||
# without .restream-wrapped store paths appearing everywhere.
|
||||
sed -i \
|
||||
'2i export PATH=$PATH''${PATH:+':'}${lib.makeBinPath deps}' \
|
||||
"$out/bin/restream"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "reMarkable screen sharing over SSH";
|
||||
homepage = "https://github.com/rien/reStream";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.cpcloud ];
|
||||
};
|
||||
}
|
||||
25
pkgs/applications/misc/remarkable/rmapi/default.nix
Normal file
25
pkgs/applications/misc/remarkable/rmapi/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "rmapi";
|
||||
version = "0.0.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "juruen";
|
||||
repo = "rmapi";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HXWE6688jhRQQEiZuPfuJStSQeueqoWwwa+PfneHprw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-gu+BU2tL/xZ7D6lZ1ueO/9IB9H3NNm4mloCZaGqZskU=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Go app that allows access to the ReMarkable Cloud API programmatically";
|
||||
homepage = "https://github.com/juruen/rmapi";
|
||||
changelog = "https://github.com/juruen/rmapi/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
};
|
||||
}
|
||||
27
pkgs/applications/misc/remarkable/rmview/default.nix
Normal file
27
pkgs/applications/misc/remarkable/rmview/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "rmview";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bordaigorl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-lUzmOayMHftvCukXSxXr6tBzrr2vaua1ey9gsuCKOBc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [ pyqt5 wrapQtAppsHook ];
|
||||
propagatedBuildInputs = with python3Packages; [ pyqt5 paramiko twisted pyjwt pyopenssl service-identity ];
|
||||
|
||||
preBuild = ''
|
||||
pyrcc5 -o src/rmview/resources.py resources.qrc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast live viewer for reMarkable 1 and 2";
|
||||
homepage = "https://github.com/bordaigorl/rmview";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue