summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/baidudl/default.nix
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2019-01-29 19:17:43 +0100
committerjeschli <jeschli@gmail.com>2019-01-29 19:17:43 +0100
commit924c8fb748a92720c75750cee528ac2f4b7c5c8e (patch)
tree1a3b956f7f8527e533040cee1138810fe304bbc9 /makefu/5pkgs/baidudl/default.nix
parent06b6454af78e8236a67d69cab94f62c32054be47 (diff)
parente64bbd8d6864e21f9e7b6b9a11cf95c976bdc109 (diff)
Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'makefu/5pkgs/baidudl/default.nix')
-rw-r--r--makefu/5pkgs/baidudl/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/makefu/5pkgs/baidudl/default.nix b/makefu/5pkgs/baidudl/default.nix
new file mode 100644
index 000000000..3c701fd6a
--- /dev/null
+++ b/makefu/5pkgs/baidudl/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, pkgs, curl, jansson ,fetchFromGitHub, autoreconfHook }:
+stdenv.mkDerivation rec {
+ pname = "baidudl";
+ version = "2018-01-16";
+ name = "${pname}-${version}";
+
+ src = fetchFromGitHub {
+ owner = "yzfedora";
+ repo = "baidudl";
+ rev = "712f2554a5ef7b2eba5c248d6406a6c535ef47b2";
+ sha256 = "1nfzalyd9k87q6njdxpg7pa62q6hyfr2vwxwvahaflyp31nlpa0y";
+ };
+
+
+ nativeBuildInputs = [ autoreconfHook ];
+ buildInputs = [ curl.dev jansson ];
+
+ meta = {
+ homepage = https://github.com/yzfedora/baidudl;
+ description = "This is a multi-thread download tool for pan.baidu.com";
+ license = lib.licenses.gpl3;
+ };
+}