libsoup: cleanup
This commit is contained in:
parent
b135329dc5
commit
6969f37233
@ -3,22 +3,19 @@
|
|||||||
, valaSupport ? true, vala_0_40
|
, valaSupport ? true, vala_0_40
|
||||||
, intltool, python3 }:
|
, intltool, python3 }:
|
||||||
|
|
||||||
let
|
|
||||||
pname = "libsoup";
|
|
||||||
version = "2.62.2";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
pname = "libsoup";
|
||||||
|
version = "2.62.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "1dkrz1iwsswscayfmjxqv2q00b87snlq9nxdccn5vck0vbinylwy";
|
sha256 = "1dkrz1iwsswscayfmjxqv2q00b87snlq9nxdccn5vck0vbinylwy";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
postPatch = ''
|
||||||
patchShebangs libsoup/
|
patchShebangs libsoup/
|
||||||
'' + stdenv.lib.optionalString valaSupport
|
'' + stdenv.lib.optionalString valaSupport ''
|
||||||
''
|
|
||||||
substituteInPlace libsoup/Makefile.in --replace "\$(DESTDIR)\$(vapidir)" "\$(DESTDIR)\$(girdir)/../vala/vapi"
|
substituteInPlace libsoup/Makefile.in --replace "\$(DESTDIR)\$(vapidir)" "\$(DESTDIR)\$(girdir)/../vala/vapi"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user