uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
39
pkgs/development/python-modules/bx-python/default.nix
Normal file
39
pkgs/development/python-modules/bx-python/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, numpy, cython, zlib, six
|
||||
, python-lzo, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bx-python";
|
||||
version = "0.8.13";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bxlab";
|
||||
repo = "bx-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "0r3z02mvaswijalr42ikpa7crvliijy0aigsvp5m0frp05n4irf5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
buildInputs = [ zlib ];
|
||||
propagatedBuildInputs = [ numpy six python-lzo ];
|
||||
checkInputs = [ nose ];
|
||||
|
||||
postInstall = ''
|
||||
cp -r scripts/* $out/bin
|
||||
|
||||
# This is a small hack; the test suit uses the scripts which need to
|
||||
# be patched. Linking the patched scripts in $out back to the
|
||||
# working directory allows the tests to run
|
||||
rm -rf scripts
|
||||
ln -s $out/bin scripts
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/bxlab/bx-python";
|
||||
description =
|
||||
"Tools for manipulating biological data, particularly multiple sequence alignments";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.jbedo ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue