Merge pull request #66682 from asymmetric/ix.io

ix: init at 20190815
This commit is contained in:
Marek Mahut 2019-08-25 23:14:36 +02:00 committed by GitHub
commit 7192ca5fd3
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, fetchurl, makeWrapper, curl }:
stdenv.mkDerivation rec {
pname = "ix";
version = "20190815";
src = fetchurl {
url = "http://ix.io/client";
sha256 = "0xc2s4s1aq143zz8lgkq5k25dpf049dw253qxiav5k7d7qvzzy57";
};
buildInputs = [ makeWrapper ];
phases = [ "installPhase" "fixupPhase" ];
installPhase = ''
install -Dm +x $src $out/bin/ix
'';
postFixup = ''
wrapProgram $out/bin/ix --prefix PATH : "${stdenv.lib.makeBinPath [ curl ]}"
'';
meta = with stdenv.lib; {
homepage = "http://ix.io";
description = "Command line pastebin";
maintainers = with maintainers; [ asymmetric ];
platforms = platforms.all;
};
}

View File

@ -4032,6 +4032,8 @@ in
isync = callPackage ../tools/networking/isync { };
ix = callPackage ../tools/misc/ix { };
jaaa = callPackage ../applications/audio/jaaa { };
jackett = callPackage ../servers/jackett { };