Parcourir la source

Improve nix script

Arkadiusz Ryś il y a 2 ans
Parent
commit
1c3398b9b2
1 fichiers modifiés avec 19 ajouts et 1 suppressions
  1. 19 1
      default.nix

+ 19 - 1
default.nix

@@ -1,4 +1,22 @@
+{
+  pkgs ? import <nixpkgs> {}
+}:
+
 pkgs.python3Packages.buildPythonPackage rec {
-  foramat = "flit";
+  pname = "spendpoint";
+  version = "0.2.0";
+  format = "pyproject";
   src = ./.;
+
+  nativeBuildInputs = [
+    #flit-core
+  ];
+
+  buildInputs = [
+    #flit-core
+  ];
+
+  propagatedBuildInputs = [
+    pkgs.python3Packages.jinja2
+  ];
 }