From e196ab5dbbf86c8ab136c367c13db815c52ba7a9 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 13 Jan 2025 19:58:11 -0500 Subject: [PATCH] remove deprecated config Signed-off-by: Xe Iaso --- .drone.yml | 53 --------------------------------------------- default.nix | 62 ----------------------------------------------------- shell.nix | 21 ------------------ 3 files changed, 136 deletions(-) delete mode 100644 .drone.yml delete mode 100644 default.nix delete mode 100644 shell.nix diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 5edac8c..0000000 --- a/.drone.yml +++ /dev/null @@ -1,53 +0,0 @@ -kind: pipeline -name: default -workspace: - base: /tulpanomicon - -steps: - - name: build ebook files - image: xena/pandoc - pull: always - commands: - - cd src && ./build.sh - volumes: - - name: book - path: /tulpanomicon/book - - name: build mdbook - image: xena/mdbook - pull: always - commands: - - mdbook build - volumes: - - name: book - path: /tulpanomicon/book - - name: build image - image: docker:dind - volumes: - - name: book - path: /tulpanomicon/book - - name: dockersock - path: /var/run/docker.sock - commands: - - sh -c 'docker build -t xena/tulpanomicon:$DRONE_COMMIT .' - - name: auto-release - image: xena/gitea-release:latest - pull: always - settings: - auth_username: cadey - changelog_path: ./src/CHANGELOG.md - gitea_server: https://tulpa.dev - gitea_token: - from_secret: GITEA_TOKEN - when: - event: - - push - branch: - - master - -volumes: - - name: book - temp: {} - - name: dockersock - host: - path: /var/run/docker.sock - diff --git a/default.nix b/default.nix deleted file mode 100644 index 9ec98ba..0000000 --- a/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ pkgs ? import { - overlays = [ - (overlayFinal: overlayPrev: - let - packageOverrides = (pythonFinal: pythonPrev: { - apsw = pythonPrev.apsw.overridePythonAttrs (oldAttrs: { - version = "3.38.1-r1"; - src = overlayPrev.fetchFromGitHub { - owner = "rogerbinns"; - repo = "apsw"; - rev = "3.38.1-r1"; - sha256 = "sha256-pbb6wCu1T1mPlgoydB1Y1AKv+kToGkdVUjiom2vTqf4="; - }; - checkInputs = [ ]; - # Project uses custom test setup to exclude some tests by default, so using pytest - # requires more maintenance - # https://github.com/rogerbinns/apsw/issues/335 - checkPhase = '' - python tests.py - ''; - pytestFlagsArray = [ ]; - disabledTests = [ ]; - }); - }); - python' = overlayPrev.python3.override { inherit packageOverrides; }; - in { - calibre = - overlayPrev.calibre.override { python3Packages = python'.pkgs; }; - }) - ]; -} }: - -let - tex = with pkgs; - texlive.combine { inherit (texlive) scheme-medium bitter titlesec; }; - version = "devel"; -in pkgs.stdenv.mkDerivation { - pname = "tulpanomicon"; - inherit version; - src = ./.; - phases = "buildPhase installPhase"; - buildInputs = with pkgs; [ - calibre - mdbook - pandoc - tex - ]; - - buildPhase = '' - cp -rf $src/src . - cp -rf $src/book.toml . - mkdir book - chmod -R a+w . - mdbook build - cd ./src && ./build.sh && cd .. - ''; - - installPhase = '' - mkdir -p $out - cp -vrf book/* $out - ''; -} diff --git a/shell.nix b/shell.nix deleted file mode 100644 index ce10d00..0000000 --- a/shell.nix +++ /dev/null @@ -1,21 +0,0 @@ -let - pkgs = import { }; - nur = import (builtins.fetchTarball - "https://github.com/nix-community/NUR/archive/master.tar.gz") { - inherit pkgs; - }; - dyson = pkgs.callPackage ./nix/dyson.nix { }; - tex = with pkgs; - texlive.combine { inherit (texlive) scheme-medium bitter titlesec; }; -in pkgs.mkShell { - buildInputs = with pkgs; [ - calibre - dyson - kubectl - kubectx - mdbook - nur.repos.mic92.pandoc-bin - tex - zathura - ]; -}