-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
48 lines (41 loc) · 1.08 KB
/
default.nix
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
40
41
42
43
44
45
46
47
48
with import <nixpkgs> {};
with pkgs.python3.pkgs;
{ lib,
buildPythonPackage,
# build-system
setuptools,
setuptools-scm,
# dependencies
survey,
# tests
# hypothesis
}:
buildPythonPackage rec {
name = "filemanagement";
#pname = "filemanagement";
version = "0.0.1";
# Requires ssh key
#src = fetchFromGitHub {
# owner = "yurimimi";
# repo = "${name}";
# rev = "cba327fe0e4d87beb30c2bb200f0470bb1082cad";
#};
src = ./src;
#pyproject = true;
#propagatedBuildInputs = [ pytest numpy pkgs.libsndfile ];
dependencies = [
survey
# some others
];
#meta = {
# changelog = "https://github.com/yurimimi/yui/releases/tag/${version}";
# description = "Your utility integrator";
# homepage = "https://github.com/yurimimi/yui";
# license = lib.licenses.mit;
# maintainers = with lib.maintainers; [ yurimimi ];
#};
#preConfigure = ''
# export LDFLAGS="-L${pkgs.fftw}/lib -L${pkgs.fftwFloat}/lib -L${pkgs.fftwLongDouble}/lib"
# export CFLAGS="-I${pkgs.fftw}/include -I${pkgs.fftwFloat}/include -I${pkgs.fftwLongDouble}/include"
#'';
}