mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
diffoscope: 87 -> 90
This commit is contained in:
parent
e39f211575
commit
355a6ca189
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchgit, python3Packages, docutils
|
||||
{ lib, stdenv, fetchgit, python3Packages, docutils, help2man
|
||||
, acl, apktool, libbfd, bzip2, cbfstool, cdrkit, colord, colordiff, coreutils, cpio, diffutils, dtc
|
||||
, e2fsprogs, file, findutils, fontforge-fonttools, fpc, gettext, ghc, ghostscriptX, giflib, gnupg1, gnutar
|
||||
, gzip, imagemagick, jdk, libarchive, libcaca, llvm, mono, openssh, pdftk, pgpdump, poppler_utils, sng, sqlite
|
||||
@ -8,12 +8,12 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
name = "diffoscope-${version}";
|
||||
version = "87";
|
||||
version = "90";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://anonscm.debian.org/reproducible/diffoscope.git";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0j3pljwmggrpaghbamvr24x4cg5yj7hl2ll27405p7970scnpngv";
|
||||
sha256 = "1w16667j6ag2iim1xcy8y9v9965mq50k64wnf693mivddll62704";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -25,6 +25,8 @@ python3Packages.buildPythonApplication rec {
|
||||
sed -i setup.py -e "/'rpm-python',/d"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ docutils help2man ];
|
||||
|
||||
# Still missing these tools: docx2txt enjarify js-beautify oggDump Rscript
|
||||
# Also these libraries: python3-guestfs
|
||||
pythonPath = with python3Packages; [ debian libarchive-c python_magic tlsh rpm ] ++ [
|
||||
@ -37,10 +39,12 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
doCheck = false; # Calls 'mknod' in squashfs tests, which needs root
|
||||
checkInputs = with python3Packages; [ pytest ];
|
||||
|
||||
postInstall = ''
|
||||
make -C doc
|
||||
mkdir -p $out/share/man/man1
|
||||
${docutils}/bin/rst2man.py debian/diffoscope.1.rst $out/share/man/man1/diffoscope.1
|
||||
cp doc/diffoscope.1 $out/share/man/man1/diffoscope.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user