From d69e2385b3d0752520fee2f4a2e07b4150ba491f Mon Sep 17 00:00:00 2001 From: Petar Kirov <petar.p.kirov@gmail.com> Date: Mon, 4 Mar 2024 18:24:30 +0200 Subject: [PATCH] refactor(pkgs/*/): Delete obsolete files --- pkgs/dmd/bootstrap.nix | 10 ---------- pkgs/dmd/default.nix | 1 - pkgs/dmd/flake.nix | 28 ---------------------------- pkgs/dmd/nix-inputs.json | 9 --------- pkgs/dub/flake.nix | 9 --------- pkgs/ldc/bootstrap.nix | 15 --------------- pkgs/ldc/default.nix | 4 ---- pkgs/ldc/flake.nix | 9 --------- 8 files changed, 85 deletions(-) delete mode 100644 pkgs/dmd/bootstrap.nix delete mode 100644 pkgs/dmd/default.nix delete mode 100644 pkgs/dmd/flake.nix delete mode 100644 pkgs/dmd/nix-inputs.json delete mode 100644 pkgs/dub/flake.nix delete mode 100644 pkgs/ldc/bootstrap.nix delete mode 100644 pkgs/ldc/default.nix delete mode 100644 pkgs/ldc/flake.nix diff --git a/pkgs/dmd/bootstrap.nix b/pkgs/dmd/bootstrap.nix deleted file mode 100644 index 36695f96..00000000 --- a/pkgs/dmd/bootstrap.nix +++ /dev/null @@ -1,10 +0,0 @@ -import ./binary.nix { - version = "2.098.0"; - hashes = { - # COMPILER=dmd VERSION=2.098.0 ./scripts/fetch-binary - "linux" = "sha256-EQTl5Z/UeCi3mNd6cr5Ue/CGu6HTdKGFXGtYFMTbAUU="; - "osx" = "sha256-d4Cq1EKdSZpkfn6Qdwb3dWVr539EJci0rqt5gCTH80I="; - "freebsd-64" = "sha256-c7ODMpI/kGdl3R4a7/gSTDzTcD3hbHtl4teHJvT0IGk="; - "windows" = "sha256-Yhw3hkkVdvHTayxdk/XNKZwrV8cDMfz63rgBqark+gU="; - }; -} diff --git a/pkgs/dmd/default.nix b/pkgs/dmd/default.nix deleted file mode 100644 index 2f63b6af..00000000 --- a/pkgs/dmd/default.nix +++ /dev/null @@ -1 +0,0 @@ -import ./2.100.nix diff --git a/pkgs/dmd/flake.nix b/pkgs/dmd/flake.nix deleted file mode 100644 index b6941435..00000000 --- a/pkgs/dmd/flake.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - inputs = { - dmd = { - url = github:dlang/dmd; - flake = false; - }; - druntime = { - url = github:dlang/druntime; - flake = false; - }; - phobos = { - url = github:dlang/phobos; - flake = false; - }; - tools = { - url = github:dlang/tools; - flake = false; - }; - primary.follows = "dmd"; - }; - outputs = {...}: let - versionBetween = after: before: version: - ((builtins.compareVersions version after) >= 0) - && ((builtins.compareVersions version before) < 0); - in { - isVersionSupported = version: versionBetween "2.092.1" "2.105.2" version; - }; -} diff --git a/pkgs/dmd/nix-inputs.json b/pkgs/dmd/nix-inputs.json deleted file mode 100644 index bebb4e1e..00000000 --- a/pkgs/dmd/nix-inputs.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "inputs": { - "dmd": "github:dlang/dmd", - "druntime": "github:dlang/druntime", - "phobos": "github:dlang/phobos", - "tools": "github:dlang/tools" - }, - "primaryInput": "dmd" -} diff --git a/pkgs/dub/flake.nix b/pkgs/dub/flake.nix deleted file mode 100644 index 0c2525cf..00000000 --- a/pkgs/dub/flake.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ - inputs = { - dub = { - url = "github:dlang/dub"; - flake = false; - }; - primary.follows = "dub"; - }; -} diff --git a/pkgs/ldc/bootstrap.nix b/pkgs/ldc/bootstrap.nix deleted file mode 100644 index 7af41852..00000000 --- a/pkgs/ldc/bootstrap.nix +++ /dev/null @@ -1,15 +0,0 @@ -import ./binary.nix { - version = "1.34.0"; - hashes = { - # ./scripts/fetch_binary.d --compiler=ldc --version=1.34.0 --dry-run=false - "android-aarch64" = "sha256-SJRdpd5tzhLPhJuY6rhN7r0Z2gCvEVDZxDMj0+tufUc="; - "android-armv7a" = "sha256-1URd7kpVA5m8DOPLO+6M3xhKvztHwIvNj2oka8TFcYw="; - "freebsd-x86_64" = "sha256-vI/ubxF0wyw/KdyoVzv7g4/6JiyJOdwgb/N7T6rne14="; - "linux-aarch64" = "sha256-LRD817uG0XMf6i+GaqCi/vDuURU4WInhFCeU+dAtHaE="; - "linux-x86_64" = "sha256-cnmsxGlsElSE2iVQcs+KVHKsKMv6XYin4N+XhUFt/BU="; - "osx-arm64" = "sha256-W45AEOW1EPsxizCgJYUOZyq7MhotN62xobsEAbr2/tU="; - "osx-x86_64" = "sha256-93aJN7ZNOLrQmKd6z/435trWg5F6B3XfOmKU/j5M5ig="; - "windows-x64" = "sha256-WrZnrDo/8hnsOsY2Ih8txErDz3OaNhVzwFFXsPJCEFM="; - "windows-x86" = "sha256-Vu/W9z7cB7VrcBqrlClknCYYni+GCDB4baGZOT6JS54="; - }; -} diff --git a/pkgs/ldc/default.nix b/pkgs/ldc/default.nix deleted file mode 100644 index 5badb07e..00000000 --- a/pkgs/ldc/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -import ./generic.nix { - version = "1.30.0"; - sha256 = "sha256-/bs3bwgkLZF5IqaiKnc5gCF/r6MQBG/F1kWUkK8j2s0="; -} diff --git a/pkgs/ldc/flake.nix b/pkgs/ldc/flake.nix deleted file mode 100644 index fd8bea7e..00000000 --- a/pkgs/ldc/flake.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ - inputs = { - ldc = { - url = "github:ldc-developers/ldc"; - flake = false; - }; - primary.follows = "ldc"; - }; -}