File: default.nix

package info (click to toggle)
python-truncnorm 0.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: python: 280; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
let
  pkgs = import <nixpkgs> { };
  ps = pkgs.python3Packages;
in
ps.buildPythonPackage rec {
  name = "truncnorm";
  doCheck = false;
  src = ./.;
  postShellHook = ''
    export PYTHONPATH=$(pwd):$PYTHONPATH
  '';
  depsBuildBuild = with ps; [
    ipython
    pip
    setuptools_scm
    pkgs.git
  ];
  propagatedBuildInputs = with ps; [
    numpy
    scipy
  ];

}