summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-07-16 08:22:12 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-07-16 08:22:54 -0400
commita138eb540638b5520c97f89ab654c8574d3d6c15 (patch)
tree9df0063ff29013f5d38cf49cb8522dc85d5cb09f /default.nix
parent55966a9d643d4bef0699590d9e1a2e37c636ea2e (diff)
add: Nix package and hydra definition
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..20477bc
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,12 @@
+with import <nixpkgs> {};
+
+with rustPlatform;
+
+buildRustPackage rec {
+ name = "linoquotes-gamma-${version}";
+ version = "3.0.0";
+ src = ./.;
+ depsSha256 = "1xrkcj6mgy2gzzm09pprrpbli9pqn7vv6yj3ybl80059nhwybr8r";
+ buildInputs = [ openssl sqlite ];
+ nativeBuildInputs = [ pkgconfig ];
+}