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
55
pkgs/development/python-modules/loopy/default.nix
Normal file
55
pkgs/development/python-modules/loopy/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, codepy
|
||||
, cgen
|
||||
, colorama
|
||||
, fetchFromGitHub
|
||||
, genpy
|
||||
, islpy
|
||||
, mako
|
||||
, numpy
|
||||
, pymbolic
|
||||
, pyopencl
|
||||
, pyrsistent
|
||||
, pythonOlder
|
||||
, pytools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "loopy";
|
||||
version = "2020.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inducer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GL2GY3fbP9yMEQYyuh4CRHpeN9DGnZxbMt6jC+O/C0g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
codepy
|
||||
cgen
|
||||
colorama
|
||||
genpy
|
||||
islpy
|
||||
mako
|
||||
numpy
|
||||
pymbolic
|
||||
pyopencl
|
||||
pyrsistent
|
||||
pytools
|
||||
];
|
||||
|
||||
# pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A code generator for array-based code on CPUs and GPUs";
|
||||
homepage = "https://github.com/inducer/loopy";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue