From 63533f0478f6532fed30a9839274aa2258e43df5 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 16 Nov 2024 21:32:07 -0800 Subject: [PATCH] chore: Remove unneeded files --- old/derivations/figlet-with-fonts.nix | 56 --------------------------- old/home/languages/default.nix | 9 ----- old/home/languages/go.nix | 14 ------- 3 files changed, 79 deletions(-) delete mode 100644 old/derivations/figlet-with-fonts.nix delete mode 100644 old/home/languages/default.nix delete mode 100644 old/home/languages/go.nix diff --git a/old/derivations/figlet-with-fonts.nix b/old/derivations/figlet-with-fonts.nix deleted file mode 100644 index 9d9ce85..0000000 --- a/old/derivations/figlet-with-fonts.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - fetchpatch, - fetchFromGitHub, -}: - -stdenv.mkDerivation rec { - pname = "figlet"; - version = "2.2.5"; - - # some tools can be found here ftp://ftp.figlet.org/pub/figlet/util/ - src = fetchurl { - url = "ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-${version}.tar.gz"; - sha256 = "0za1ax15x7myjl8jz271ybly8ln9kb9zhm1gf6rdlxzhs07w925z"; - }; - - contributed = fetchFromGitHub { - owner = "xero"; - repo = "figlet-fonts"; - rev = "a6d2db1a3ee88bec3518214e851825fc4495ac84"; - hash = "sha256-dAs7N66D2Fpy4/UB5Za1r2qb1iSAJR6TMmau1asxgtY"; - }; - - patches = [ - (fetchpatch { - url = "https://git.alpinelinux.org/aports/plain/main/figlet/musl-fix-cplusplus-decls.patch?h=3.4-stable&id=71776c73a6f04b6f671430f702bcd40b29d48399"; - name = "musl-fix-cplusplus-decls.patch"; - sha256 = "1720zgrfk9makznqkbjrnlxm7nnhk6zx7g458fv53337n3g3zn7j"; - }) - (fetchpatch { - url = "https://github.com/cmatsuoka/figlet/commit/9a50c1795bc32e5a698b855131ee87c8d7762c9e.patch"; - name = "unistd-on-darwin.patch"; - sha256 = "hyfY87N+yuAwjsBIjpgvcdJ1IbzlR4A2yUJQSzShCRI="; - }) - ]; - - makeFlags = [ - "prefix=$(out)" - "CC:=$(CC)" - "LD:=$(CC)" - ]; - - postInstall = "cp -ar ${contributed}/* $out/share/figlet/"; - - doCheck = true; - - meta = { - description = "Program for making large letters out of ordinary text"; - homepage = "http://www.figlet.org/"; - license = lib.licenses.afl21; - maintainers = with lib.maintainers; [ ehmry ]; - platforms = lib.platforms.unix; - }; -} diff --git a/old/home/languages/default.nix b/old/home/languages/default.nix deleted file mode 100644 index 6446148..0000000 --- a/old/home/languages/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ ... }: -{ - imports = [ - ./javascript.nix - ./go.nix - ./nix.nix - ./php.nix - ]; -} diff --git a/old/home/languages/go.nix b/old/home/languages/go.nix deleted file mode 100644 index 05c2e72..0000000 --- a/old/home/languages/go.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, ... }: -{ - programs.go = { - enable = true; - }; - - home.sessionPath = - let - goPath = config.programs.go.goPath; - in - [ - "${if (goPath == null) then "go" else goPath}" - ]; -}