File tree Expand file tree Collapse file tree 2 files changed +94
-0
lines changed Expand file tree Collapse file tree 2 files changed +94
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments