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
37
pkgs/development/python-modules/opensimplex/default.nix
Normal file
37
pkgs/development/python-modules/opensimplex/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opensimplex";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lmas";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "zljS0yu3cHF2Vz3rFkwLXiHnKjo970MDIrC/56FoHa4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "tests/test_opensimplex.py" ];
|
||||
pythonImportsCheck = [ "opensimplex" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenSimplex Noise functions for 2D, 3D and 4D";
|
||||
longDescription = ''
|
||||
OpenSimplex noise is an n-dimensional gradient noise function that was
|
||||
developed in order to overcome the patent-related issues surrounding
|
||||
Simplex noise, while continuing to also avoid the visually-significant
|
||||
directional artifacts characteristic of Perlin noise.
|
||||
'';
|
||||
homepage = "https://github.com/lmas/opensimplex";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ emilytrau ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue