diff options
author | obadz <obadz-git@obadz.com> | 2016-11-13 17:12:04 +0000 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-11-13 17:36:05 +0000 |
commit | feb8a692a17184124308409f89d4309073a63204 (patch) | |
tree | 7cd8a37f9ffe648fecada50cec8aea86057baec9 /pkgs/applications/misc/getxbook | |
parent | f9611cefc0a045d4e9a1b2d489e3c703fa70edad (diff) |
getxbook: init at 1.2
Diffstat (limited to 'pkgs/applications/misc/getxbook')
-rw-r--r-- | pkgs/applications/misc/getxbook/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/misc/getxbook/default.nix b/pkgs/applications/misc/getxbook/default.nix new file mode 100644 index 0000000000000..a77f87f6f1f16 --- /dev/null +++ b/pkgs/applications/misc/getxbook/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, openssl }: + +stdenv.mkDerivation rec { + name = "getxbook-${version}"; + version = "1.2"; + + src = fetchurl { + url = "https://njw.me.uk/getxbook/${name}.tar.xz"; + sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs"; + }; + + buildInputs = [ openssl ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + description = "A collection of tools to download books from Google Books"; + homepage = https://njw.me.uk/getxbook/; + license = licenses.isc; + maintainers = with maintainers; [ obadz ]; + platforms = platforms.all; + inherit version; + }; +} |