about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-19 10:03:34 -0500
committerGitHub <noreply@github.com>2017-03-19 10:03:34 -0500
commit20e62c3b76732d664c591b5927acc8a79e7cfc91 (patch)
treee0e60b81112aeffe526547fe43a90cf6180ae105 /pkgs/applications/graphics
parentcb231786afa09dd6b013bc6cabd5ac53d3f4080c (diff)
parent4024c6354e306c5cff511b7d352c249feef0d3ef (diff)
downloadnixlib-20e62c3b76732d664c591b5927acc8a79e7cfc91.tar
nixlib-20e62c3b76732d664c591b5927acc8a79e7cfc91.tar.gz
nixlib-20e62c3b76732d664c591b5927acc8a79e7cfc91.tar.bz2
nixlib-20e62c3b76732d664c591b5927acc8a79e7cfc91.tar.lz
nixlib-20e62c3b76732d664c591b5927acc8a79e7cfc91.tar.xz
nixlib-20e62c3b76732d664c591b5927acc8a79e7cfc91.tar.zst
nixlib-20e62c3b76732d664c591b5927acc8a79e7cfc91.zip
Merge pull request #24030 from ndowens/fontmatrix
fontmatrix: Changed URL & homepage; they no longer exist
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/fontmatrix/default.nix22
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/applications/graphics/fontmatrix/default.nix b/pkgs/applications/graphics/fontmatrix/default.nix
index fc30a3559105..ced6a5f7258a 100644
--- a/pkgs/applications/graphics/fontmatrix/default.nix
+++ b/pkgs/applications/graphics/fontmatrix/default.nix
@@ -1,10 +1,14 @@
-{ stdenv, fetchurl, cmake, qt4 }:
+{ stdenv, fetchFromGitHub, cmake, qt4 }:
 
 stdenv.mkDerivation rec {
-  name = "fontmatrix-0.6.0";
-  src = fetchurl {
-    url = "http://fontmatrix.be/archives/${name}-Source.tar.gz";
-    sha256 = "bcc5e929d95d2a0c9481d185144095c4e660255220a7ae6640298163ee77042c";
+  name = "fontmatrix-${version}";
+  version = "0.6.0";
+
+  src = fetchFromGitHub {
+    owner = "fontmatrix";
+    repo = "fontmatrix";
+    rev = "v${version}";
+    sha256 = "0aqndj1jhm6hjpwmj1qm92z2ljh7w78a5ff5ag47qywqha1ngn05";
   };
 
   buildInputs = [ qt4 ];
@@ -13,10 +17,10 @@ stdenv.mkDerivation rec {
 
   hardeningDisable = [ "format" ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
-    homepage = http://fontmatrix.be/;
-    license = stdenv.lib.licenses.gpl2;
-    platforms = stdenv.lib.platforms.linux;
+    homepage = http://github.com/fontmatrix/fontmatrix;
+    license = licenses.gpl2;
+    platforms = platforms.linux;
   };
 }