aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--default.nix16
-rw-r--r--org/spine_build_scaffold.org19
-rw-r--r--project.nix16
3 files changed, 41 insertions, 10 deletions
diff --git a/default.nix b/default.nix
index ab10c24..5ffb598 100644
--- a/default.nix
+++ b/default.nix
@@ -1,7 +1,17 @@
-{ pkgs ? import <nixpkgs> {}, }:
+{ pkgs ? import <nixpkgs> {},
+ 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 ];
+ };
}
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 <nixpkgs> {}, }:
+{ pkgs ? import <nixpkgs> {},
+ 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
diff --git a/project.nix b/project.nix
index ab10c24..5ffb598 100644
--- a/project.nix
+++ b/project.nix
@@ -1,7 +1,17 @@
-{ pkgs ? import <nixpkgs> {}, }:
+{ pkgs ? import <nixpkgs> {},
+ 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 ];
+ };
}