2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchsvn, pkg-config, mono, dotnetPackages }:
|
2016-02-02 15:08:51 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
newtonsoft-json = dotnetPackages.NewtonsoftJson;
|
2019-08-13 22:52:01 +01:00
|
|
|
in stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gdata-sharp";
|
2016-02-02 15:08:51 +00:00
|
|
|
version = "2.2.0.0";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://google-gdata.googlecode.com/svn/trunk/";
|
|
|
|
rev = "1217";
|
|
|
|
sha256 = "0b0rvgg3xsbbg2fdrpz0ywsy9rcahlyfskndaagd3yzm83gi6bhk";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ mono newtonsoft-json ];
|
2016-02-02 15:08:51 +00:00
|
|
|
|
|
|
|
sourceRoot = "svn-r1217/clients/cs";
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -e 's#^\(DEFINES=.*\)\(.\)#\1 /r:third_party/Newtonsoft.Json.dll\2#' Makefile
|
|
|
|
# carriage return ^
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://code.google.com/archive/p/google-gdata/";
|
2016-02-02 15:08:51 +00:00
|
|
|
|
|
|
|
description = "The Google Data APIs";
|
|
|
|
longDescription = ''
|
|
|
|
The Google Data APIs provide a simple protocol for reading and writing
|
|
|
|
data on the web.
|
|
|
|
'';
|
2018-08-20 18:22:10 +01:00
|
|
|
|
|
|
|
license = licenses.asl20;
|
2016-02-02 15:08:51 +00:00
|
|
|
platforms = platforms.linux;
|
2019-10-07 16:20:23 +01:00
|
|
|
broken = true;
|
2016-02-02 15:08:51 +00:00
|
|
|
};
|
|
|
|
}
|