1 { lib, stdenv, xsel, curl, fetchFromGitLab, makeWrapper}:
5 version = "2018-06-24";
7 src = fetchFromGitLab {
10 rev = "70422c83b2ac5856559b0ddaf6e2dc3dbef40dee";
11 sha256 = "1qpylyxrisy3p2lyirfarfj5yzrdjgsgxwf8gqwljpcjn207hr72";
14 nativeBuildInputs = [ makeWrapper ];
17 install -Dm755 0x0 $out/bin/0x0
19 patchShebangs $out/bin/0x0
20 wrapProgram $out/bin/0x0 \
21 --prefix PATH : '${lib.makeBinPath [ curl xsel ]}'
25 description = "A client for 0x0.st";
26 homepage = "https://gitlab.com/somasis/scripts/";
27 maintainers = [ maintainers.ar1a ];
28 license = licenses.unlicense;
29 platforms = platforms.unix;