nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildPythonPackage,
3 meson-python,
4 ninja,
5 setuptools,
6 pkg-config,
7 dftd4,
8 cffi,
9 numpy,
10}:
11
12buildPythonPackage {
13 inherit (dftd4)
14 pname
15 version
16 src
17 meta
18 ;
19
20 pyproject = true;
21
22 buildInputs = [ dftd4 ];
23
24 nativeBuildInputs = [
25 pkg-config
26 ninja
27 ];
28
29 build-system = [
30 meson-python
31 setuptools
32 ];
33
34 dependencies = [
35 cffi
36 numpy
37 ];
38
39 preConfigure = ''
40 cd python
41 '';
42
43 pythonImportsCheck = [ "dftd4" ];
44 doCheck = true;
45}