2013-03-24 23:32:14 +01:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
2013-03-26 01:12:27 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-02-26 22:27:39 +01:00
|
|
|
name = "gnulib-20180226";
|
2013-03-26 01:12:27 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "http://git.savannah.gnu.org/r/gnulib.git";
|
2018-02-26 22:27:39 +01:00
|
|
|
rev = "0bec5d56c6938c2f28417bb5fd1c4b05ea2e7d28";
|
|
|
|
sha256 = "0sifr3bkmhyr5s6ljgfyr0fw6w49ajf11rlp1r797f3r3r6j9w4k";
|
2013-03-26 01:12:27 +01:00
|
|
|
};
|
|
|
|
|
2018-02-26 22:27:39 +01:00
|
|
|
dontFixup = true;
|
2018-03-27 00:35:36 +02:00
|
|
|
# no "make install", gnulib is a collection of source code
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out; mv * $out/
|
|
|
|
ln -s $out/lib $out/include
|
|
|
|
'';
|
2013-03-26 01:12:27 +01:00
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.gnu.org/software/gnulib/;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "Central location for code to be shared among GNU packages";
|
2013-03-26 01:12:27 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-03-26 01:12:27 +01:00
|
|
|
};
|
|
|
|
}
|