diff options
author | Francesco Zanini <francesco@zanini.me> | 2020-03-10 12:46:48 +0100 |
---|---|---|
committer | Francesco Zanini <francesco@zanini.me> | 2020-03-10 12:48:16 +0100 |
commit | bbce0e88b9fd524be94b2a116bfb720e2cc063b9 (patch) | |
tree | 7804264c5e9879ed61968302c1b03dcd8d0892d1 /pkgs/tools/misc | |
parent | 890440b0273caab258b38c0873c3fe758318bb4f (diff) | |
download | nixlib-bbce0e88b9fd524be94b2a116bfb720e2cc063b9.tar nixlib-bbce0e88b9fd524be94b2a116bfb720e2cc063b9.tar.gz nixlib-bbce0e88b9fd524be94b2a116bfb720e2cc063b9.tar.bz2 nixlib-bbce0e88b9fd524be94b2a116bfb720e2cc063b9.tar.lz nixlib-bbce0e88b9fd524be94b2a116bfb720e2cc063b9.tar.xz nixlib-bbce0e88b9fd524be94b2a116bfb720e2cc063b9.tar.zst nixlib-bbce0e88b9fd524be94b2a116bfb720e2cc063b9.zip |
libgen-cli: init at 1.0.5
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/libgen-cli/default.nix | 30 |
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 ]; + }; +} |