about summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2020-03-28 14:36:38 +0100
committerGitHub <noreply@github.com>2020-03-28 14:36:38 +0100
commitf2baa711d1280e31dc567be579f3fe24c5b8e880 (patch)
tree994ee3390163c612ce38c96b207b2eae9cb3df6d /pkgs/tools/misc
parent362a983a4557e82ae79481766e1797a32397e307 (diff)
parentbbce0e88b9fd524be94b2a116bfb720e2cc063b9 (diff)
downloadnixlib-f2baa711d1280e31dc567be579f3fe24c5b8e880.tar
nixlib-f2baa711d1280e31dc567be579f3fe24c5b8e880.tar.gz
nixlib-f2baa711d1280e31dc567be579f3fe24c5b8e880.tar.bz2
nixlib-f2baa711d1280e31dc567be579f3fe24c5b8e880.tar.lz
nixlib-f2baa711d1280e31dc567be579f3fe24c5b8e880.tar.xz
nixlib-f2baa711d1280e31dc567be579f3fe24c5b8e880.tar.zst
nixlib-f2baa711d1280e31dc567be579f3fe24c5b8e880.zip
Merge pull request #82237 from zaninime/libgen-cli
libgen-cli: init at 1.0.5
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/libgen-cli/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/libgen-cli/default.nix b/pkgs/tools/misc/libgen-cli/default.nix
new file mode 100644
index 000000000000..c34e934fba48
--- /dev/null
+++ b/pkgs/tools/misc/libgen-cli/default.nix
@@ -0,0 +1,30 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+buildGoModule rec {
+  pname = "libgen-cli";
+  version = "1.0.5";
+
+  src = fetchFromGitHub {
+    owner = "ciehanski";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1lfsnyzin2dqhwhz6phms6yipli88sqiw55ls18dfv7bvx30sqlp";
+  };
+
+  modSha256 = "1k16zjb7p65g72hr9vsk38jhpsy1yclm7fjgq47qy6jwjd44w1bi";
+
+  subPackages = [ "." ];
+
+  meta = with lib; {
+    homepage = "https://github.com/ciehanski/libgen-cli";
+    description =
+      "A CLI tool used to access the Library Genesis dataset; written in Go";
+    longDescription = ''
+      libgen-cli is a command line interface application which allows users to
+      quickly query the Library Genesis dataset and download any of its
+      contents.
+    '';
+    license = licenses.asl20;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ zaninime ];
+  };
+}