mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
pb_cli: 1.0 -> 2019-03-10
This commit is contained in:
parent
40953c84e4
commit
57bfa0c395
|
@ -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 "$@"
|
|
@ -6,18 +6,16 @@ assert video -> capture != null;
|
|||
assert clipboard -> xclip != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pb_cli-${version}";
|
||||
version = "1.0";
|
||||
name = "pb_cli-unstable-${version}";
|
||||
version = "2019-03-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ptpb";
|
||||
repo = "pb_cli";
|
||||
rev = "5242382b3d6b5c0ddaf6e4843a69746b40866e57";
|
||||
sha256 = "0543x3377apinhxnsfq82zlp5sm8g1bf6hmsvvcwra5rsshv2ybk";
|
||||
rev = "6b9ce1ee45fe651d06d7c479a20026a173dd328b";
|
||||
sha256 = "0w6a789zffvz4ixsb92q45n5s4xyx7s2l2f07972i3dajaaai8z7";
|
||||
};
|
||||
|
||||
patches = [ ./0001-eval-fix.patch ];
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
liveDeps = [ jq curl ] ++ stdenv.lib.optional screenshots maim
|
||||
|
@ -33,8 +31,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A no bullshit ptpb client";
|
||||
description = "A no bullshit 0x0.st client";
|
||||
homepage = "https://github.com/ptpb/pb_cli";
|
||||
maintainers = [ maintainers.ar1a ];
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue