terminus-font-ttf: nitpick fixes/improvements

share/doc/COPYING would be a too general name and could collide with
other packages.
This commit is contained in:
Vladimír Čunát 2017-07-08 11:38:22 +02:00
parent c057098b7d
commit e81cf2f06c
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "c3cb690c2935123035a0b1f3bfdd9511c282dab489cd423e161a47c592edf188";
};
buildInputs = [unzip];
nativeBuildInputs = [ unzip ];
installPhase = ''
for i in *.ttf; do
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
install -Dm 644 "$i" "$out/share/fonts/truetype/$destname"
done
install -Dm 644 COPYING "$out/share/doc/COPYING"
install -Dm 644 COPYING "$out/share/doc/terminus-font-ttf/COPYING"
'';
meta = with stdenv.lib; {
@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
homepage = http://files.ax86.net/terminus-ttf;
license = licenses.ofl;
maintainers = with maintainers; [ okasu ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}