Merge pull request #82237 from zaninime/libgen-cli

libgen-cli: init at 1.0.5
This commit is contained in:
Elis Hirwing 2020-03-28 14:36:38 +01:00 committed by GitHub
commit f2baa711d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -4560,6 +4560,8 @@ in
libsmi = callPackage ../development/libraries/libsmi { };
libgen-cli = callPackage ../tools/misc/libgen-cli { };
licensor = callPackage ../tools/misc/licensor { };
lesspipe = callPackage ../tools/misc/lesspipe { };