mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Merge pull request #166916 from OPNA2608/update/palemoon
palemoon: 29.4.5 -> 29.4.5.1, add version test
This commit is contained in:
commit
c2c318b290
@ -31,6 +31,8 @@
|
||||
, zip
|
||||
, zlib
|
||||
, withGTK3 ? true, gtk3, gtk2
|
||||
, testVersion
|
||||
, palemoon
|
||||
}:
|
||||
|
||||
# Only specific GCC versions are supported with branding
|
||||
@ -44,12 +46,12 @@ assert with lib.strings; (
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "palemoon";
|
||||
version = "29.4.5";
|
||||
version = "29.4.5.1";
|
||||
|
||||
src = fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
url = "http://archive.palemoon.org/source/${pname}-${version}.source.tar.xz";
|
||||
sha256 = "sha256-ls4uhfFaiFHkmAVbwwBenm71sNm6Tql2tMpzk9D2b5Y=";
|
||||
sha256 = "sha256-IC7E88dECAz2diVLEEdjMltpNMBhPTlPvbz05BniBMI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -194,7 +196,8 @@ stdenv.mkDerivation rec {
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
};
|
||||
|
||||
passthru.updateScript = writeScript "update-${pname}" ''
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts curl libxml2
|
||||
|
||||
@ -208,4 +211,8 @@ stdenv.mkDerivation rec {
|
||||
)"
|
||||
update-source-version ${pname} "$version"
|
||||
'';
|
||||
tests.version = testVersion {
|
||||
package = palemoon;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user