summary refs log tree commit diff
path: root/pkgs/applications/networking/ipget
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2017-10-22 21:46:40 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2017-10-22 21:46:40 -0400
commit562f8313e0a6acaa5d99f689150cd71d04707605 (patch)
tree7dc6cf93770b4e4beaf5ded13093d4389cdf5983 /pkgs/applications/networking/ipget
parent1d317bd84a13f73f0f05346dca6c048896aa91d0 (diff)
downloadnixpkgs-562f8313e0a6acaa5d99f689150cd71d04707605.tar
nixpkgs-562f8313e0a6acaa5d99f689150cd71d04707605.tar.gz
nixpkgs-562f8313e0a6acaa5d99f689150cd71d04707605.tar.bz2
nixpkgs-562f8313e0a6acaa5d99f689150cd71d04707605.tar.lz
nixpkgs-562f8313e0a6acaa5d99f689150cd71d04707605.tar.xz
nixpkgs-562f8313e0a6acaa5d99f689150cd71d04707605.tar.zst
nixpkgs-562f8313e0a6acaa5d99f689150cd71d04707605.zip
ipget: init at 0.2.5
Diffstat (limited to 'pkgs/applications/networking/ipget')
-rw-r--r--pkgs/applications/networking/ipget/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/networking/ipget/default.nix b/pkgs/applications/networking/ipget/default.nix
new file mode 100644
index 00000000000..23c9d7df812
--- /dev/null
+++ b/pkgs/applications/networking/ipget/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
+
+buildGoPackage rec {
+  name = "ipget-${version}";
+  version = "0.2.5";
+  rev = "v${version}";
+
+  goPackagePath = "github.com/ipfs/ipget";
+  
+  extraSrcPaths = [
+    (fetchgx {
+      inherit name src;
+      sha256 = "1d4w8zl5mcppn3d4bl7qdkiqlf8gi3z2a62nygx17bqpa3da8cf3";
+    })
+  ];
+ 
+  goDeps = ../../../tools/package-management/gx/deps.nix;
+
+  src = fetchFromGitHub {
+    owner = "ipfs";
+    repo = "ipget";
+    inherit rev;
+    sha256 = "0a8yxqhl469ipiznrgkp3yi1xz3xzcbpx60wabqppq8hccrdiybk";
+  };
+
+  meta = with stdenv.lib; {
+    description = "Retrieve files over IPFS and save them locally";
+    homepage = https://ipfs.io/;
+    license = licenses.mit;
+    platforms = platforms.unix;
+  };
+}