forked from python-acoustics/python-acoustics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
39 lines (33 loc) · 747 Bytes
/
Copy pathdefault.nix
File metadata and controls
39 lines (33 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Nix function for building this package
# To always get the latest version you could use
#
# acoustics = (import fetchTarball {
# url = https://github.com/python-acoustics/python-acoustics/archive/master.tar.gz;
# });
#
# Note that the above should still be called, with the following arguments.
{ buildPythonPackage
, pytest
, cython
, cytoolz
, numpy
, scipy
, matplotlib
, pandas
, six
, tabulate
}:
buildPythonPackage rec {
name = "acoustics-${version}";
version = "0.1.2dev";
src = ./.;
preBuild = ''
make clean
'';
buildInputs = [ pytest cython ];
propagatedBuildInputs = [ cytoolz numpy scipy matplotlib pandas six tabulate ];
meta = {
description = "Acoustics module for Python";
};
doCheck = false;
}