2013-03-24 23:32:14 +01:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
2013-03-26 01:12:27 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-03-26 21:41:54 +01:00
|
|
|
pname = "gnulib";
|
|
|
|
version = "20190326";
|
2013-03-26 01:12:27 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
2019-03-26 21:41:54 +01:00
|
|
|
url = https://git.savannah.gnu.org/r/gnulib.git;
|
|
|
|
rev = "a18f7ce3c0aa760c33d46bbeb8e5b3a14cf24984";
|
|
|
|
sha256 = "04py5n3j17wyqv9wfsslcrxzapni9vmw6p5g0adzy2md3ygjw4x4";
|
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
|
2018-10-05 22:24:24 +02:00
|
|
|
mkdir -p $out/bin
|
|
|
|
ln -s $out/gnulib-tool $out/bin/
|
2018-03-27 00:35:36 +02:00
|
|
|
'';
|
2013-03-26 01:12:27 +01:00
|
|
|
|
|
|
|
meta = {
|
2018-12-01 19:22:13 +01:00
|
|
|
homepage = https://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
|
|
|
};
|
|
|
|
}
|