aboutsummaryrefslogtreecommitdiffhomepage
path: root/project.nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-05-15 18:10:04 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-05-15 22:25:58 -0400
commit924fabf26347cf2da0a770cd16f956c26e4064f9 (patch)
tree80c97145dca8188df5f7131694e5dc2f5990b7ff /project.nix
parentcgi.d arsd update (diff)
nix-build cleanup, external sources localized
- clean up as external sources kept locally, in ./src/ext_depends/ - remove dub2nix dependency, no longer needed/used
Diffstat (limited to 'project.nix')
-rwxr-xr-xproject.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/project.nix b/project.nix
deleted file mode 100755
index bfd44fb..0000000
--- a/project.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env -S nix-build
-{ pkgs ? import <nixpkgs> {} }:
-with import ./nix/mkDub.nix { inherit pkgs; };
-mkDubDerivation rec {
- name = "spine-${version}";
- version = "0.11.3";
- src = ./.;
- buildInputs = [
- pkgs.sqlite
- (
- let
- dub2nix-src = ./src/build_depends/dub2nix/.;
- dub2nix = (import dub2nix-src) { inherit pkgs; };
- in
- with pkgs; [
- nixFlakes
- rund
- dub
- ldc
- sqlite
- nix-prefetch-git
- validatePkgConfig
- jq
- git
- ]
- )
- ];
- # buildPhase = [ ];
- installPhase = ''
- install -m755 -D spine $out/bin/spine
- echo "built $out/bin/spine"
- '';
- meta = with pkgs.lib; {
- homepage = https://sisudoc.org;
- description = "a sisu like document parser";
- license = licenses.agpl3Plus;
- platforms = platforms.linux;
- maintainers = [ RalphAmissah ];
- };
-}