From 5e73d5d8ab2a3231cc9f9c9cf2f529e8a7a6e229 Mon Sep 17 00:00:00 2001 From: José Romildo Malaquias Date: Thu, 8 Dec 2016 13:07:53 -0200 Subject: numix-icon-theme-square: init at 2016-11-23 (#20988) Travis reports hash mismatch during the darwin build, although the hash has been obtained using 'nix-prefetch-url' (on NixOS). Exclude darwin from platforms until the cause is identified. --- .../data/icons/numix-icon-theme-square/default.nix | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/data/icons/numix-icon-theme-square/default.nix (limited to 'pkgs/data') diff --git a/pkgs/data/icons/numix-icon-theme-square/default.nix b/pkgs/data/icons/numix-icon-theme-square/default.nix new file mode 100644 index 000000000000..4485351b9c39 --- /dev/null +++ b/pkgs/data/icons/numix-icon-theme-square/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, numix-icon-theme }: + +stdenv.mkDerivation rec { + version = "2016-11-23"; + + package-name = "numix-icon-theme-square"; + + name = "${package-name}-${version}"; + + src = fetchFromGitHub { + owner = "numixproject"; + repo = package-name; + rev = "1c30eb02aea3d95c49f95c212702b56e93ac9043"; + sha256 = "1d2car4dsh1dnim9jlakm035ydqd1f115cagm6zm8gwa5w9annag"; + }; + + buildInputs = [ numix-icon-theme ]; + + dontBuild = true; + + installPhase = '' + mkdir -p $out/share/icons + cp -a Numix-Square{,-Light} $out/share/icons/ + ''; + + meta = with stdenv.lib; { + description = "Numix icon theme (square version)"; + homepage = https://numixproject.org; + license = licenses.gpl3; + platforms = with platforms; allBut darwin; + maintainers = with maintainers; [ romildo ]; + }; +} -- cgit 1.4.1