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
34
pkgs/development/python-modules/pyquaternion/default.nix
Normal file
34
pkgs/development/python-modules/pyquaternion/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyquaternion";
|
||||
version = "0.9.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-sfYa8hnLL+lmtft5oZISTy5jo/end6w8rfKVexqBvqg=";
|
||||
};
|
||||
|
||||
# The VERSION.txt file is required for setup.py
|
||||
# See: https://github.com/KieranWynn/pyquaternion/blob/master/setup.py#L14-L15
|
||||
postPatch = ''
|
||||
echo "${version}" > VERSION.txt
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
pythonImportsCheck = [ "pyquaternion" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for representing and using quaternions.";
|
||||
homepage = "http://kieranwynn.github.io/pyquaternion/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lucasew ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue