commit
0d7546c0c2
@ -10,20 +10,14 @@
|
|||||||
assert withMediaPlayback -> gst_all_1 != null;
|
assert withMediaPlayback -> gst_all_1 != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
pdfjs = stdenv.mkDerivation rec {
|
pdfjs = let
|
||||||
name = "pdfjs-${version}";
|
|
||||||
version = "1.10.100";
|
version = "1.10.100";
|
||||||
|
in
|
||||||
src = fetchzip {
|
fetchzip rec {
|
||||||
url = "https://github.com/mozilla/pdf.js/releases/download/${version}/${name}-dist.zip";
|
name = "pdfjs-${version}";
|
||||||
sha256 = "04df4cf6i6chnggfjn6m1z9vb89f01a0l9fj5rk21yr9iirq9rkq";
|
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/${name}-dist.zip";
|
||||||
stripRoot = false;
|
sha256 = "04df4cf6i6chnggfjn6m1z9vb89f01a0l9fj5rk21yr9iirq9rkq";
|
||||||
};
|
stripRoot = false;
|
||||||
|
|
||||||
buildCommand = ''
|
|
||||||
mkdir $out
|
|
||||||
cp -r $src $out
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in python3Packages.buildPythonApplication rec {
|
in python3Packages.buildPythonApplication rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user