2022-02-10 20:34:41 +00:00
|
|
|
{ fetchurl
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, cmake
|
|
|
|
, ninja
|
|
|
|
, poppler
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-02-10 20:34:41 +00:00
|
|
|
pname = "poppler-data";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "0.4.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-02-10 20:34:41 +00:00
|
|
|
url = "https://poppler.freedesktop.org/${pname}-${version}.tar.gz";
|
2023-02-09 11:40:11 +00:00
|
|
|
sha256 = "yDW2QKQM41fhuDZmqr2V7f+iTd3dSbja/2OtuFHNq3Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
ninja
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://poppler.freedesktop.org/";
|
|
|
|
description = "Encoding files for Poppler, a PDF rendering library";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.free; # more free licenses combined
|
2022-02-10 20:34:41 +00:00
|
|
|
maintainers = poppler.meta.maintainers;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|