mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:48:10 +00:00
7299db431a
Added package metadata, including license.
27 lines
662 B
Nix
27 lines
662 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
let version = "0.2.1"; in
|
|
stdenv.mkDerivation {
|
|
name = "fontconfig-penultimate-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ttuegel";
|
|
repo = "fontconfig-penultimate";
|
|
rev = version;
|
|
sha256 = "14arpalmpn7ig2myxslk4jdg6lm0cnmwsxy7zl0j7yr417k1kprf";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/etc/fonts/conf.d
|
|
cp *.conf $out/etc/fonts/conf.d
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/ttuegel/fontconfig-penultimate;
|
|
description = "Sensible defaults for Fontconfig";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ttuegel ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|