about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 17:20:35 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 17:20:35 +0200
commit74f3dd4af2c2214149e3a969face36a2b4468840 (patch)
tree628bd8ba3060207d62773c2f5e66ce9af07f03c8
parentbuild(.envrc): Add a shebang (diff)
downloadquotify-74f3dd4af2c2214149e3a969face36a2b4468840.tar.gz
quotify-74f3dd4af2c2214149e3a969face36a2b4468840.zip
docs(manual): Remove
-rw-r--r--docs/quotify.1.md57
-rw-r--r--flake.nix28
2 files changed, 1 insertions, 84 deletions
diff --git a/docs/quotify.1.md b/docs/quotify.1.md
deleted file mode 100644
index 546b559..0000000
--- a/docs/quotify.1.md
+++ /dev/null
@@ -1,57 +0,0 @@
-<!--
-Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-SPDX-License-Identifier: AGPL-3.0-or-later
-
-This file is part of Quotify - A simple CLI utility to shell quote the text
-inputted into it.
-
-You should have received a copy of the License along with this program.
-If not, see <https://www.gnu.org/licenses/agpl.txt>.
--->
-
-% QUOTIFY(1) quotify 0.1.0
-% Benedikt Peetz
-% Oct 2024
-
-# NAME
-
-quotify - A simple cli utility to shell quote the text inputed into it
-
-# SYNOPSIS
-
-**quotify** \[*--help*|*--version*\]
-
-# DESCRIPTION
-
-TODO
-
-# OPTIONS
-
-**--help**, **-h**
-: Displays a help message and exit.
-
-**--version**, **-v**
-: Displays the software version and exit.
-
-# EXAMPLES
-
-**quotify**
-: TODO. See the Description section for further details.
-
-# FILES
-
-*name.file*
-: This file is important because it does x.
-
-# BUGS
-
-Report bugs to <mailto://soispha@vhack.eu>.
-
-# COPYRIGHT
-
-Copyright (C) 2024  Benedikt Peetz
-
-This program is free software.
-
-You should have received a copy of the License
-along with this program.  If not, see <https://www.gnu.org/licenses/agpl.txt>.
diff --git a/flake.nix b/flake.nix
index df124f6..2b20986 100644
--- a/flake.nix
+++ b/flake.nix
@@ -6,7 +6,6 @@
 #
 # You should have received a copy of the License along with this program.
 # If not, see <https://www.gnu.org/licenses/agpl.txt>.
-
 {
   description = "A simple cli utility to shell quote the text inputed into it";
 
@@ -73,9 +72,6 @@
         then pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default)
         else pkgs.rust-bin.stable.latest.default;
 
-      cargo_toml = craneLib.cleanCargoToml {cargoToml = ./Cargo.toml;};
-      pname = cargo_toml.package.name;
-
       craneLib = (crane.mkLib pkgs).overrideToolchain rust_minimal;
       craneBuild = craneLib.buildPackage {
         src = craneLib.cleanCargoSource ./.;
@@ -83,31 +79,9 @@
         doCheck = true;
       };
 
-      manual = pkgs.stdenv.mkDerivation {
-        name = "${pname}-manual";
-        inherit (cargo_toml.package) version;
-
-        src = ./docs;
-        nativeBuildInputs = with pkgs; [pandoc];
-
-        buildPhase = ''
-          mkdir --parents $out/docs;
-
-          pandoc "./${pname}.1.md" -s -t man > $out/docs/${pname}.1
-        '';
-
-        installPhase = ''
-          install -D $out/docs/${pname}.1  $out/share/man/man1/${pname};
-        '';
-      };
-
       treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;};
     in {
-      packages.default = pkgs.symlinkJoin {
-        inherit (cargo_toml.package) name;
-
-        paths = [manual craneBuild];
-      };
+      packages.default = craneBuild;
 
       checks = {
         inherit craneBuild;