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:
parent
c057098b7d
commit
e81cf2f06c
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "c3cb690c2935123035a0b1f3bfdd9511c282dab489cd423e161a47c592edf188";
|
sha256 = "c3cb690c2935123035a0b1f3bfdd9511c282dab489cd423e161a47c592edf188";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [unzip];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
for i in *.ttf; do
|
for i in *.ttf; do
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
install -Dm 644 "$i" "$out/share/fonts/truetype/$destname"
|
install -Dm 644 "$i" "$out/share/fonts/truetype/$destname"
|
||||||
done
|
done
|
||||||
|
|
||||||
install -Dm 644 COPYING "$out/share/doc/COPYING"
|
install -Dm 644 COPYING "$out/share/doc/terminus-font-ttf/COPYING"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://files.ax86.net/terminus-ttf;
|
homepage = http://files.ax86.net/terminus-ttf;
|
||||||
license = licenses.ofl;
|
license = licenses.ofl;
|
||||||
maintainers = with maintainers; [ okasu ];
|
maintainers = with maintainers; [ okasu ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user