aboutsummaryrefslogblamecommitdiff
path: root/python-package.nix
blob: faedbb9eb825b83c740cdabf9f920bfac65acc0a (plain) (tree)
1
2
3
4
5
6
7
8
9







                     
        
         





























                                  
         
          

    
{
  lib,
  buildPythonPackage,
  meson-python,
  ninja,
  pkg-config,
  makeWrapper,
  cjson,
  highs,
  uthash,
}:

buildPythonPackage {
  pname = "evanix";
  version = "0.0.1";
  pyproject = true;

  src =
    let
      fs = lib.fileset;
    in
    fs.toSource {
      root = ./.;
      fileset = fs.unions [
        ./src
        ./include
        ./meson.build
        ./meson_options.txt
        ./pyproject.toml
      ];
    };

  build-system = [ meson-python ];
  nativeBuildInputs = [
    ninja
    pkg-config
    makeWrapper
  ];
  buildInputs = [
    cjson
    highs
    uthash
  ];
}