repo: init
welcome 👋 to my world 🌍
This commit is contained in:
parent
531fc54f1f
commit
edcf6f758e
11 changed files with 134 additions and 2 deletions
16
templates/python/nix/package.nix
Normal file
16
templates/python/nix/package.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ python3Packages }:
|
||||
let
|
||||
pname = "python-app";
|
||||
version = "0.1.0";
|
||||
inherit (python3Packages)
|
||||
buildPythonApplication
|
||||
flask
|
||||
;
|
||||
in
|
||||
buildPythonApplication {
|
||||
inherit pname version;
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
];
|
||||
src = ../${pname};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue