dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / by-name / xk / xkcd-font / package.nix
blob8e7d5be28f2f5571142275dc8198208f37aaeece
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "xkcd-font";
9   version = "unstable-2017-08-24";
11   src = fetchFromGitHub {
12     owner = "ipython";
13     repo = pname;
14     rev = "5632fde618845dba5c22f14adc7b52bf6c52d46d";
15     hash = "sha256-1DgSx2L+OpXuPVSXbbl/hcZUyBK9ikPyGWuk6wNzlwc=";
16   };
18   installPhase = ''
19     runHook preInstall
21     install -Dm444 -t $out/share/fonts/opentype/ xkcd/build/xkcd.otf
22     install -Dm444 -t $out/share/fonts/truetype/ xkcd-script/font/xkcd-script.ttf
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Xkcd font";
29     homepage = "https://github.com/ipython/xkcd-font";
30     license = licenses.cc-by-nc-30;
31     platforms = platforms.all;
32     maintainers = [ ];
33   };