Skip to content

Commit 6116313

Browse files
committed
add nix files for building
1 parent 542116f commit 6116313

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

beku.nix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{ python3 }:
2+
3+
python3.pkgs.buildPythonApplication {
4+
pname = "beku-stackabletech";
5+
version = "0.0.9";
6+
7+
format = "pyproject";
8+
9+
src = builtins.path {
10+
path = ./.;
11+
name = "beku-stackabletech";
12+
};
13+
14+
nativeBuildInputs = [
15+
python3.pkgs.setuptools
16+
];
17+
18+
propagatedBuildInputs = [
19+
python3.pkgs.jinja2
20+
python3.pkgs.pyyaml
21+
];
22+
}
23+

default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{ pkgs ? import <nixpkgs> {} }:
2+
3+
{
4+
beku = pkgs.callPackage ./beku.nix {};
5+
}

0 commit comments

Comments
 (0)