1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/fontmatrix/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
630 B
Nix

{ stdenv, fetchFromGitHub, cmake, qt4 }:
stdenv.mkDerivation rec {
pname = "fontmatrix";
version = "0.6.0";
src = fetchFromGitHub {
owner = "fontmatrix";
repo = "fontmatrix";
rev = "v${version}";
sha256 = "0aqndj1jhm6hjpwmj1qm92z2ljh7w78a5ff5ag47qywqha1ngn05";
};
buildInputs = [ qt4 ];
nativeBuildInputs = [ cmake ];
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
homepage = https://github.com/fontmatrix/fontmatrix;
license = licenses.gpl2;
platforms = platforms.linux;
};
}