Merge branch 'staging-next' into staging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, python, xorg, makeWrapper }:
|
||||
{ lib, stdenv, fetchFromGitHub, python2, xorg, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "disper";
|
||||
@@ -13,7 +13,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = [ python ];
|
||||
strictDeps = true;
|
||||
|
||||
buildInputs = [ python2 ];
|
||||
|
||||
preConfigure = ''
|
||||
export makeFlags="PREFIX=$out"
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "paperlike-go";
|
||||
version = "unstable-2021-03-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leoluk";
|
||||
repo = "paperlike-go";
|
||||
rev = "a7d89fd4d4cbcec7be016860e9063676ad4cca0f";
|
||||
sha256 = "0ym340520a0j4gvgk4x091lcz1apsv9lnwx0nnha86qvzqcy528l";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/paperlike-cli" ];
|
||||
|
||||
vendorSha256 = "00mn0zfivxp2h77s7gmyyjp8p5a1vysn73wwaalgajymvljxxx1r";
|
||||
|
||||
meta = with lib; {
|
||||
description = "paperlike-go is a Linux Go library and CLI utility to control a Dasung Paperlike display via I2C DDC.";
|
||||
homepage = "https://github.com/leoluk/paperlike-go";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.adisbladis ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ytfzf";
|
||||
version = "1.1.0";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pystardust";
|
||||
repo = "ytfzf";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ATQRXYaIp1MKCO/EAPsopzFEZeNJzdk73/OcgjsMdkg=";
|
||||
sha256 = "sha256-286rN3g6leSnbZZ0VjWl43nhBAMPJDUMv7DhgVTsjKw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
diff --git a/ytfzf b/ytfzf
|
||||
index 5238682..c5c3a1a 100755
|
||||
index f7871c7..179c836 100755
|
||||
--- a/ytfzf
|
||||
+++ b/ytfzf
|
||||
@@ -757,23 +757,8 @@ clear_history () {
|
||||
@@ -829,23 +829,8 @@ send_notify () {
|
||||
}
|
||||
|
||||
update_ytfzf () {
|
||||
- branch="$1"
|
||||
- updatefile="/tmp/ytfzf-update"
|
||||
- local branch="$1"
|
||||
- local updatefile="/tmp/ytfzf-update"
|
||||
- curl -L "https://raw.githubusercontent.com/pystardust/ytfzf/$branch/ytfzf" -o "$updatefile"
|
||||
-
|
||||
- if sed -n '1p' < "$updatefile" | grep -q '#!/bin/sh' ; then
|
||||
@@ -27,4 +27,4 @@ index 5238682..c5c3a1a 100755
|
||||
+ exit 1
|
||||
}
|
||||
|
||||
|
||||
scrape_subscriptions () {
|
||||
|
||||
Reference in New Issue
Block a user