9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
42 lines
1 KiB
Nix
42 lines
1 KiB
Nix
{ stdenv, fetchsvn, pkg-config, 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 = [ pkg-config ];
|
|
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;
|
|
};
|
|
}
|