pb_cli: 1.0 -> 2019-03-10

This commit is contained in:
Aria Edmonds 2019-03-10 06:46:34 +11:00
parent 40953c84e4
commit 57bfa0c395
2 changed files with 6 additions and 17 deletions

View File

@ -1,10 +0,0 @@
diff --git a/src/pb.sh b/src/pb.sh
index be1e472..eb9e6f9 100755
--- a/src/pb.sh
+++ b/src/pb.sh
@@ -61,4 +61,4 @@ pb () {
esac
}
-eval " ${0##*/}" "$@"
+pb "$@"

View File

@ -6,18 +6,16 @@ assert video -> capture != null;
assert clipboard -> xclip != null; assert clipboard -> xclip != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pb_cli-${version}"; name = "pb_cli-unstable-${version}";
version = "1.0"; version = "2019-03-10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ptpb"; owner = "ptpb";
repo = "pb_cli"; repo = "pb_cli";
rev = "5242382b3d6b5c0ddaf6e4843a69746b40866e57"; rev = "6b9ce1ee45fe651d06d7c479a20026a173dd328b";
sha256 = "0543x3377apinhxnsfq82zlp5sm8g1bf6hmsvvcwra5rsshv2ybk"; sha256 = "0w6a789zffvz4ixsb92q45n5s4xyx7s2l2f07972i3dajaaai8z7";
}; };
patches = [ ./0001-eval-fix.patch ];
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ];
liveDeps = [ jq curl ] ++ stdenv.lib.optional screenshots maim liveDeps = [ jq curl ] ++ stdenv.lib.optional screenshots maim
@ -33,8 +31,9 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A no bullshit ptpb client"; description = "A no bullshit 0x0.st client";
homepage = "https://github.com/ptpb/pb_cli"; homepage = "https://github.com/ptpb/pb_cli";
maintainers = [ maintainers.ar1a ]; maintainers = [ maintainers.ar1a ];
license = licenses.gpl3Plus;
}; };
} }