mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
ix: init at 20190815
This commit is contained in:
parent
45e6253678
commit
8e4b081052
30
pkgs/tools/misc/ix/default.nix
Normal file
30
pkgs/tools/misc/ix/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -3970,6 +3970,8 @@ in
|
||||
|
||||
isync = callPackage ../tools/networking/isync { };
|
||||
|
||||
ix = callPackage ../tools/misc/ix { };
|
||||
|
||||
jaaa = callPackage ../applications/audio/jaaa { };
|
||||
|
||||
jackett = callPackage ../servers/jackett { };
|
||||
|
Loading…
Reference in New Issue
Block a user