mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
pwsafe: 0.95 -> 0.99
This commit is contained in:
parent
b3adffcd56
commit
cf08d94d18
@ -1,14 +1,16 @@
|
|||||||
{ stdenv, fetchurl, wxGTK, libuuid, xercesc, zip , libXt, libXtst
|
{ stdenv, fetchFromGitHub, wxGTK, libuuid, xercesc, zip , libXt, libXtst
|
||||||
, libXi, xextproto, gettext, perl, pkgconfig, libyubikey, ykpers
|
, libXi, xextproto, gettext, perl, pkgconfig, libyubikey, ykpers
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pwsafe-${version}";
|
name = "pwsafe-${version}";
|
||||||
version = "0.95";
|
version = "0.99";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/passwordsafe/pwsafe-${version}BETA-src.tgz";
|
owner = "pwsafe";
|
||||||
sha256 = "f0b081bc358fee97fce20f352e360960d2813989023b837102b90ba6ed787d46";
|
repo = "pwsafe";
|
||||||
|
rev = "${version}BETA";
|
||||||
|
sha256 = "1bkimz4g9v9kfjkqr3dqddh4jps7anzc1hgmirmmhwpac0xdp60g";
|
||||||
};
|
};
|
||||||
|
|
||||||
makefile = "Makefile.linux";
|
makefile = "Makefile.linux";
|
||||||
@ -30,6 +32,9 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace $f --replace /usr/share/ $out/share/
|
substituteInPlace $f --replace /usr/share/ $out/share/
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Fix hard coded zip path.
|
||||||
|
substituteInPlace help/Makefile.linux --replace /usr/bin/zip ${zip}/bin/zip
|
||||||
|
|
||||||
for f in `grep -Rl /usr/bin/ .`; do
|
for f in `grep -Rl /usr/bin/ .`; do
|
||||||
substituteInPlace $f --replace /usr/bin/ ""
|
substituteInPlace $f --replace /usr/bin/ ""
|
||||||
done
|
done
|
||||||
@ -45,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
$out/share/locale
|
$out/share/locale
|
||||||
|
|
||||||
(cd help && make -f Makefile.linux)
|
(cd help && make -f Makefile.linux)
|
||||||
cp help/help.zip $out/share/doc/passwordsafe/help
|
cp help/help*.zip $out/share/doc/passwordsafe/help
|
||||||
|
|
||||||
(cd src/ui/wxWidgets/I18N && make mos)
|
(cd src/ui/wxWidgets/I18N && make mos)
|
||||||
cp -dr src/ui/wxWidgets/I18N/mos/* $out/share/locale/
|
cp -dr src/ui/wxWidgets/I18N/mos/* $out/share/locale/
|
||||||
|
Loading…
Reference in New Issue
Block a user