about summary refs log tree commit diff stats
path: root/awk/flake.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 17:04:59 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 23:59:54 +0200
commit3094a6bef6aa83fd0321caec58ce402ae7609899 (patch)
tree34e23af608a5877cd3275a842c392c68017483d2 /awk/flake.nix
parentfeat(c): Update to be in line with the my SOTA (diff)
downloadflake-templates-3094a6bef6aa83fd0321caec58ce402ae7609899.tar.gz
flake-templates-3094a6bef6aa83fd0321caec58ce402ae7609899.zip
feat(awk): Update to my current SOTA
Diffstat (limited to 'awk/flake.nix')
-rw-r--r--awk/flake.nix84
1 files changed, 0 insertions, 84 deletions
diff --git a/awk/flake.nix b/awk/flake.nix
deleted file mode 100644
index 1d9b0b2..0000000
--- a/awk/flake.nix
+++ /dev/null
@@ -1,84 +0,0 @@
-{
-  description = ""; # TODO
-
-  inputs = {
-    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
-    systems = {
-      url = "github:nix-systems/x86_64-linux"; # only evaluate for this system
-    };
-    flake-utils = {
-      url = "github:numtide/flake-utils";
-      inputs = {
-        systems.follows = "systems";
-      };
-    };
-    flake_version_update = {
-      url = "git+https://codeberg.org/soispha/flake_version_update.git";
-      inputs = {
-        systems.follows = "systems";
-        nixpkgs.follows = "nixpkgs";
-        flake-utils.follows = "flake-utils";
-      };
-    };
-  };
-
-  outputs = {
-    self,
-    nixpkgs,
-    flake-utils,
-    flake_version_update,
-    ...
-  }:
-    flake-utils.lib.eachDefaultSystem (system: let
-      pkgs = nixpkgs.legacyPackages.${system};
-
-      # This version is set automatically on `cog bump --auto`;
-      version = "v1.0.0"; # GUIDING VERSION STRING
-    in {
-      packages.default = pkgs.stdenv.mkDerivation {
-        pname = ""; # TODO
-        inherit version;
-        src = ./.;
-
-        nativeBuildInputs = builtins.attrValues {
-          inherit
-            (pkgs)
-            #pandoc
-            
-            ;
-        };
-
-        dependencies = builtins.attrValues {
-          inherit (pkgs) gawk;
-        };
-
-        buildPhase = ''
-          #mkdir --parents $out/docs;
-          #pandoc $src/docs/<name>.1.md -s -t man  > $out/docs/<name>.1
-        '';
-
-        installPhase = ''
-          install -D $out/docs/<name>.<man_number>  $out/share/man/man<man_number>/<name>;
-          install -D $scr/scr/<name>.awk $out/bin/<name>;
-        '';
-      };
-      app.default = {
-        type = "app";
-        program = "${self.packages.${system}.default}/bin/<name>";
-      };
-      devShells.default = pkgs.mkShell {
-        packages = with pkgs; [
-          nil
-          alejandra
-          statix
-          ltex-ls
-          cocogitto
-          flake_version_update.packages."${system}".default
-
-          gawk
-        ];
-      };
-    });
-}
-# vim: ts=2
-