gajim: add plugin installer
It's not included into repository checkout (which we use because of tests), so get it from release tarball instead.
This commit is contained in:
parent
906713a0b1
commit
9edd4c8835
@ -22,7 +22,8 @@ with stdenv.lib;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gajim-${version}";
|
name = "gajim-${version}";
|
||||||
version = "0.16.9";
|
majorVersion = "0.16";
|
||||||
|
version = "${majorVersion}.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "${name}.tar.bz2";
|
name = "${name}.tar.bz2";
|
||||||
@ -31,6 +32,18 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "121dh906zya9n7npyk7b5xama0z3ycy9jl7l5jm39pc86h1winh3";
|
sha256 = "121dh906zya9n7npyk7b5xama0z3ycy9jl7l5jm39pc86h1winh3";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Needed for Plugin Installer
|
||||||
|
release = fetchurl {
|
||||||
|
url = "https://gajim.org/downloads/${majorVersion}/gajim-${version}.tar.bz2";
|
||||||
|
sha256 = "0v08zdvpqaig0wxpxn1l8rsj3wr3fqvnagn8cnvch17vfqv9gcr1";
|
||||||
|
};
|
||||||
|
|
||||||
|
postUnpack = ''
|
||||||
|
tar -xaf $release
|
||||||
|
cp -r ${name}/plugins/plugin_installer gajim-${name}-*/plugins
|
||||||
|
rm -rf ${name}
|
||||||
|
'';
|
||||||
|
|
||||||
patches = let
|
patches = let
|
||||||
# An attribute set of revisions to apply from the upstream repository.
|
# An attribute set of revisions to apply from the upstream repository.
|
||||||
cherries = {
|
cherries = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user