Created
May 19, 2017 22:36
-
-
Save anonymous/2d4d5c57b6c852d5fc13a4e65441d119 to your computer and use it in GitHub Desktop.
default.nix trying to turn doCheck off, either globally or just for jedi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> { config = import ./config.nix ; } ; | |
let doCheck = false; in | |
let myPython = pkgs.python; in | |
let myPythonPackages = pkgs.python27Packages.override { python = myPython; }; in | |
let #defines inotify | |
inotify = myPythonPackages.buildPythonPackage rec { | |
name = "inotify"; | |
version = "0.6-test"; | |
src = pkgs.fetchurl { | |
url = "https://pypi.python.org/packages/55/f3/7f35bf5ea24ecb0cd9c5ec92b6105473f3322eb20c856f816b99e2eb42a1/python-inotify-0.6-test.tar.gz"; | |
sha256 = "0h6xmf39kag6wzk6fcwf1pc2mzmpv4hmrbh3y7fh1k5ad1gjh8bm"; | |
}; | |
meta = with pkgs.stdenv.lib; { | |
homepage = ""; | |
license = "LGPL 2"; | |
description = "Interface to Linux inotify subsystem"; | |
}; | |
# No tests distributed | |
doCheck = false; | |
}; | |
in | |
let # Defines our node.js package | |
dparser = myPythonPackages.buildPythonPackage { | |
name = "dparser"; | |
builder=./dparserb.sh; | |
# Where to download sources from | |
src = pkgs.fetchgit { | |
url = https://github.com/jplevyak/dparser.git; | |
rev = "246a343b01da98b2062c6c56f258ececf798d7f7"; | |
sha256 = "93e87d89680112c1e2996e27542d6316d79cbb74215c6c946f1dc639d6df04c7"; | |
}; | |
buildInputs = with pkgs ; [ which swig ] ; | |
}; | |
in | |
let myCython = stdenv.lib.overrideDerivation pkgs.pythonPackages.cython (attrs: { | |
patches = [ ./cython-memoryview.patch ]; | |
doCheck = false; | |
}); | |
in | |
myPythonPackages.buildPythonPackage { | |
name = "myproject"; | |
propogatedBuildInputs = [which dparser ]; | |
buildInputs = with pkgs.python27Packages.override { python=myPython ; } ; | |
[ Keras tensorflow jedi.overrideAttrs( oldAttrs: rec { doCheck = false; }) theano inotify pathpy pyyaml fasteners jupyter emacs25 which myCython gdb numpy time celery cherrypy redis openpyxl requests dateutil pyinotify scipy tables pandas argparse dparser sh pathpy ]; | |
#src = ./.; | |
#shellHook = '' | |
# . env.sh; | |
# cd ../dserver/src | |
#''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment