mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
uudeview: 0.5.20 -> 0.5.20-unstable-2025-03-20, update repo, fixes build (#411084)
This commit is contained in:
parent
2ba6a4f630
commit
72caf3acb7
1 changed files with 10 additions and 17 deletions
|
@ -1,19 +1,21 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
tcl,
|
tcl,
|
||||||
tk,
|
tk,
|
||||||
|
autoreconfHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "uudeview";
|
pname = "uudeview";
|
||||||
version = "0.5.20";
|
version = "0.5.20-unstable-2025-03-20";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.fpx.de/fp/Software/UUDeview/download/uudeview-${version}.tar.gz";
|
owner = "hannob";
|
||||||
sha256 = "0dg4v888fxhmf51vxq1z1gd57fslsidn15jf42pj4817vw6m36p4";
|
repo = "uudeview";
|
||||||
|
rev = "7640bc56aa5016cdc9c139eb1ab3ec874e47c744";
|
||||||
|
hash = "sha256-IdHxkrXe+2I+aJpZ0bhimXq4xEXE9HDXrL5DtCs7MKk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -21,22 +23,13 @@ stdenv.mkDerivation rec {
|
||||||
tk
|
tk
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-tk=${tk.dev}"
|
"--enable-tk=${tk.dev}"
|
||||||
"--enable-tcl=${tcl}"
|
"--enable-tcl=${tcl}"
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://wiki.tcl.tk/3577
|
|
||||||
./matherr.patch
|
|
||||||
# format hardening
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://raw.githubusercontent.com/OpenMandrivaAssociation/uudeview/master/uudeview-0.5.20-fix-str-fmt.patch";
|
|
||||||
sha256 = "1biipck60mhpd0j6jwizaisvqa8alisw1dpfqm6zf7ic5b93hmfw";
|
|
||||||
extraPrefix = "";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace tcl/xdeview --replace "exec uuwish" "exec $out/bin/uuwish"
|
substituteInPlace tcl/xdeview --replace "exec uuwish" "exec $out/bin/uuwish"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue