From 6e8cbbd34c40eea226efa4fe7ee40696def2c9ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 6 Nov 2015 16:25:09 +0100 Subject: [PATCH] Revert "t1utils: use github cache and allow build on darwin" This reverts commit 9b2bff7097e47fa956e642c2f630b998ce9aef38. It fails to build: http://hydra.nixos.org/build/27428175/nixlog/2/raw --- pkgs/tools/misc/t1utils/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/misc/t1utils/default.nix b/pkgs/tools/misc/t1utils/default.nix index 8046cea3cc5c..c00db07ed1f4 100644 --- a/pkgs/tools/misc/t1utils/default.nix +++ b/pkgs/tools/misc/t1utils/default.nix @@ -1,14 +1,11 @@ -{ stdenv, fetchFromGitHub }: +{ stdenv, fetchurl }: stdenv.mkDerivation rec { - version = "1.39"; - name = "t1utils-${version}"; + name = "t1utils-1.39"; - src = fetchFromGitHub { - owner = "kohler"; - repo = "t1utils"; - rev = "v${version}"; - sha256 = "02n4dzxa8fz0dbxari7xh6cq66x3az6g55fq8ix2bfmww42s4v2r"; + src = fetchurl { + url = "http://www.lcdf.org/type/${name}.tar.gz"; + sha256 = "1i6ln194ns2g4j5zjlj4bfzxpkfpnxvy37n9baq3hywjqkjz7bhg"; }; meta = with stdenv.lib; { @@ -25,7 +22,7 @@ stdenv.mkDerivation rec { # README from tarball says "BSD-like" and points to non-existing LICENSE # file... license = "Click"; # MIT with extra clause, https://github.com/kohler/t1utils/blob/master/LICENSE - platforms = platforms.all; + platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }