summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvuko <vuko@hackerspace.pl>2020-06-16 22:52:24 +0200
committervuko <vuko@hackerspace.pl>2020-06-16 22:52:24 +0200
commit884368a262509aee4a06fc63b829fe8b2291cd02 (patch)
tree6926487f84439e3ee3a20a9665f48d0c7b35f042
parent31926d4f0879ab3c69d39e51f247391e195a955b (diff)
downloadcheckinator-884368a262509aee4a06fc63b829fe8b2291cd02.tar.gz
checkinator-884368a262509aee4a06fc63b829fe8b2291cd02.tar.bz2
checkinator-884368a262509aee4a06fc63b829fe8b2291cd02.zip
adding default.nix
-rw-r--r--default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..4d177f8
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,29 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+let
+ spaceauth = import "${pkgs.fetchgit {
+ url = "http://code.hackerspace.pl/vuko/nix-spaceauth";
+ rev = "7d5adc400ad58a34219c4bd74b9326d9465a8cb4";
+ sha256 = "1zg400anq6lsipjj8bcqz89clc0grrrvgqqpxyrx4sd7yb07mxrh";
+ }}/spaceauth.nix" { inherit pkgs; };
+in pkgs.python3Packages.buildPythonPackage {
+ pname = "checkinator";
+ version = "0.2";
+
+ doCheck = false;
+ src = ./.;
+
+ propagatedBuildInputs = with pkgs; [
+ python3Packages.gunicorn
+ python3Packages.flask
+ python3Packages.pyyaml
+ python3Packages.isodate
+ python3Packages.requests
+ python3Packages.requests-unixsocket
+ python3Packages.grpcio
+ python3Packages.grpcio-tools
+ python3Packages.setuptools
+ python3Packages.protobuf
+ spaceauth
+ ];
+}