forked from mirrors/nixpkgs
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
27 lines
686 B
Nix
27 lines
686 B
Nix
{ stdenv, fetchurl, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "getxbook";
|
|
version = "1.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://njw.me.uk/getxbook/${pname}-${version}.tar.xz";
|
|
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
|
|
|
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;
|
|
};
|
|
}
|