From ccd93708b9430f2350b48bb77ef2b6aff31c0c8b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 23 Oct 2020 09:52:20 -0400 Subject: nix --- org/spine_build_scaffold.org | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'org') diff --git a/org/spine_build_scaffold.org b/org/spine_build_scaffold.org index da1d01f..c36cb1e 100644 --- a/org/spine_build_scaffold.org +++ b/org/spine_build_scaffold.org @@ -988,6 +988,7 @@ gitsnapshot: distclean tangle #+END_SRC * dub.json TODO (subproject versions) :dub:json:config: +** dub.json #+BEGIN_SRC sh :tangle ../dub.json { @@ -1044,7 +1045,7 @@ gitsnapshot: distclean tangle } #+END_SRC -** check dub.json +** +check dub.json+ #+BEGIN_SRC sh :NO-tangle ../dub.json { @@ -1943,12 +1944,22 @@ in pkgs.mkShell { #+NAME: nix_project #+BEGIN_SRC nix -{ pkgs ? import {}, }: +{ pkgs ? import {}, + stdenv ? pkgs.stdenv, +}: with import ./mkDub.nix { inherit pkgs; }; -mkDubDerivation { - version = "0.11.1"; # optional +mkDubDerivation rec { + name = "spine-${version}"; + version = "0.11.1"; src = ./.; buildInputs = [ pkgs.sqlite ]; + meta = with stdenv.lib; { + homepage = http://sisudoc.org; + description = "a sisu like document parser"; + license = licenses.agpl3Plus; + platforms = platforms.linux; + maintainers = [ Ralph Amissah ]; + }; } #+END_SRC -- cgit v1.2.3