nixpkgs/pkgs/development/libraries/gdata-sharp/default.nix
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00

43 lines
1.0 KiB
Nix

{ stdenv, fetchsvn, pkgconfig, mono, dotnetPackages }:
let
newtonsoft-json = dotnetPackages.NewtonsoftJson;
in stdenv.mkDerivation {
pname = "gdata-sharp";
version = "2.2.0.0";
src = fetchsvn {
url = "http://google-gdata.googlecode.com/svn/trunk/";
rev = "1217";
sha256 = "0b0rvgg3xsbbg2fdrpz0ywsy9rcahlyfskndaagd3yzm83gi6bhk";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mono newtonsoft-json ];
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)" ];
meta = with stdenv.lib; {
homepage = https://code.google.com/archive/p/google-gdata/;
description = "The Google Data APIs";
longDescription = ''
The Google Data APIs provide a simple protocol for reading and writing
data on the web.
'';
license = licenses.asl20;
platforms = platforms.linux;
broken = true;
};
}