mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user