We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d55cec0 commit 30c367cCopy full SHA for 30c367c
2 files changed
flake.lock
flake.nix
@@ -0,0 +1,33 @@
1
+{
2
+ description = "Bindings between Numpy and Eigen using nanobind";
3
+
4
+ inputs = {
5
+ flake-parts.url = "github:hercules-ci/flake-parts";
6
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
7
+ };
8
9
+ outputs =
10
+ inputs:
11
+ inputs.flake-parts.lib.mkFlake { inherit inputs; } {
12
+ systems = inputs.nixpkgs.lib.systems.flakeExposed;
13
+ perSystem =
14
+ { pkgs, self', ... }:
15
+ {
16
+ packages = {
17
+ default = self'.packages.nanoeigenpy;
18
+ nanoeigenpy = pkgs.python3Packages.nanoeigenpy.overrideAttrs (_: {
19
+ src = pkgs.lib.fileset.toSource {
20
+ root = ./.;
21
+ fileset = pkgs.lib.fileset.unions [
22
+ ./CMakeLists.txt
23
+ ./include
24
+ ./package.xml
25
+ ./src
26
+ ./tests
27
+ ];
28
29
+ });
30
31
32
33
+}
0 commit comments