mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
diffoscope: 63 -> 77
This commit is contained in:
parent
f5eea8ba1d
commit
de4643eb80
@ -1,30 +1,24 @@
|
|||||||
{ lib, stdenv, fetchgit, fetchpatch, pythonPackages, docutils
|
{ lib, stdenv, fetchgit, fetchpatch, python3, docutils
|
||||||
, acl, binutils, bzip2, cbfstool, cdrkit, colord, cpio, diffutils, e2fsprogs, file, fpc, gettext, ghc
|
, acl, binutils, bzip2, cbfstool, cdrkit, colord, cpio, diffutils, e2fsprogs, file, fpc, gettext, ghc
|
||||||
, gnupg1, gzip, jdk, libcaca, mono, pdftk, poppler_utils, sng, sqlite, squashfsTools, unzip, vim, xz
|
, gnupg1, gzip, jdk, libcaca, mono, pdftk, poppler_utils, sng, sqlite, squashfsTools, unzip, vim, xz
|
||||||
, colordiff
|
, colordiff
|
||||||
, enableBloat ? false
|
, enableBloat ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
name = "diffoscope-${version}";
|
pname = "diffoscope";
|
||||||
version = "63";
|
name = "${pname}-${version}";
|
||||||
|
version = "77";
|
||||||
namePrefix = "";
|
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "git://anonscm.debian.org/reproducible/diffoscope.git";
|
url = "git://anonscm.debian.org/reproducible/diffoscope.git";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "018c0xcgf6pgq493dib29pfyqpj7vb93a6qfmdh790fpxa2j1zyd";
|
sha256 = "0l5q24sqb88qkz62cz85bq65myfqig3z3m1lj2s92hdlqip9946b";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
[ # Ignore different link counts.
|
[ # Ignore different link counts.
|
||||||
./ignore_links.patch
|
./ignore_links.patch
|
||||||
|
|
||||||
# Our Glibc doesn't have the C.UTF-8 locale yet
|
|
||||||
# (https://sourceware.org/glibc/wiki/Proposals/C.UTF-8), so use
|
|
||||||
# en_US.UTF-8 instead.
|
|
||||||
./locale.patch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -35,7 +29,7 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
# Still missing these tools: enjarify, otool & lipo (maybe OS X only), showttf
|
# Still missing these tools: enjarify, otool & lipo (maybe OS X only), showttf
|
||||||
# Also these libraries: python3-guestfs
|
# Also these libraries: python3-guestfs
|
||||||
# FIXME: move xxd into a separate package so we don't have to pull in all of vim.
|
# FIXME: move xxd into a separate package so we don't have to pull in all of vim.
|
||||||
propagatedBuildInputs = (with pythonPackages; [ debian libarchive-c python_magic tlsh rpm ]) ++
|
propagatedBuildInputs = (with python3.pkgs; [ debian libarchive-c python_magic tlsh rpm ]) ++
|
||||||
map lib.getBin ([ acl binutils bzip2 cbfstool cdrkit cpio diffutils e2fsprogs file gettext
|
map lib.getBin ([ acl binutils bzip2 cbfstool cdrkit cpio diffutils e2fsprogs file gettext
|
||||||
gzip libcaca poppler_utils sng sqlite squashfsTools unzip vim xz colordiff
|
gzip libcaca poppler_utils sng sqlite squashfsTools unzip vim xz colordiff
|
||||||
] ++ lib.optionals enableBloat [ colord fpc ghc gnupg1 jdk mono pdftk ]);
|
] ++ lib.optionals enableBloat [ colord fpc ghc gnupg1 jdk mono pdftk ]);
|
||||||
|
@ -1448,7 +1448,6 @@ with pkgs;
|
|||||||
|
|
||||||
diffoscope = callPackage ../tools/misc/diffoscope {
|
diffoscope = callPackage ../tools/misc/diffoscope {
|
||||||
jdk = jdk7;
|
jdk = jdk7;
|
||||||
pythonPackages = python3Packages;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
diffstat = callPackage ../tools/text/diffstat { };
|
diffstat = callPackage ../tools/text/diffstat { };
|
||||||
|
Loading…
Reference in New Issue
Block a user