forked from mirrors/nixpkgs
ttf-envy-code-r: nitpick changes
- start version with 0. to get actual version semantics - better location for readme.txt - widen platforms to unix
This commit is contained in:
parent
208edec09a
commit
5172fd68d3
|
@ -1,8 +1,10 @@
|
||||||
{ stdenv, fetchurl, unzip }:
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
let
|
||||||
stdenv.mkDerivation rec {
|
pname = "ttf-envy-code-r";
|
||||||
name = "ttf-envy-code-r";
|
|
||||||
version = "PR7";
|
version = "PR7";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-0.${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.damieng.com/fonts/original/EnvyCodeR-${version}.zip";
|
url = "http://download.damieng.com/fonts/original/EnvyCodeR-${version}.zip";
|
||||||
|
@ -15,14 +17,14 @@ stdenv.mkDerivation rec {
|
||||||
for f in *.ttf; do
|
for f in *.ttf; do
|
||||||
install -Dm 644 "$f" "$out/share/fonts/truetype/$f"
|
install -Dm 644 "$f" "$out/share/fonts/truetype/$f"
|
||||||
done
|
done
|
||||||
install -Dm 644 Read\ Me.txt "$out/share/doc/readme.txt"
|
install -Dm 644 Read\ Me.txt "$out/share/doc/${pname}/readme.txt"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://damieng.com/blog/tag/envy-code-r;
|
homepage = http://damieng.com/blog/tag/envy-code-r;
|
||||||
description = "Free scalable coding font by DamienG";
|
description = "Free scalable coding font by DamienG";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.lyt ];
|
maintainers = [ maintainers.lyt ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue