3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #57135 from ar1a/_0x0

_0x0: init at 2018-06-24
This commit is contained in:
Michael Raskin 2019-03-10 08:19:04 +00:00 committed by GitHub
commit 92537b0179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, pkgs, xsel, curl, fetchFromGitLab, makeWrapper}:
stdenv.mkDerivation rec {
name = "0x0-${version}";
version = "2018-06-24";
src = fetchFromGitLab {
owner = "somasis";
repo = "scripts";
rev = "70422c83b2ac5856559b0ddaf6e2dc3dbef40dee";
sha256 = "1qpylyxrisy3p2lyirfarfj5yzrdjgsgxwf8gqwljpcjn207hr72";
};
buildInputs = [ makeWrapper ];
installPhase = ''
install -Dm755 0x0 $out/bin/0x0
patchShebangs $out/bin/0x0
wrapProgram $out/bin/0x0 \
--prefix PATH : '${stdenv.lib.makeBinPath [ curl xsel ]}'
'';
meta = with stdenv.lib; {
description = "A client for 0x0.st";
homepage = "https://gitlab.com/somasis/scripts/";
maintainers = [ maintainers.ar1a ];
license = licenses.unlicense;
};
}

View file

@ -410,6 +410,8 @@ in
### TOOLS
_0x0 = callPackage ../tools/misc/0x0 { };
_1password = callPackage ../applications/misc/1password { };
_9pfs = callPackage ../tools/filesystems/9pfs { };