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
62
pkgs/development/python-modules/graphene/default.nix
Normal file
62
pkgs/development/python-modules/graphene/default.nix
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, aniso8601
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, graphql-core
|
||||
, graphql-relay
|
||||
, promise
|
||||
, pytest-asyncio
|
||||
, pytest-benchmark
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, snapshottest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graphene";
|
||||
version = "3.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "graphql-python";
|
||||
repo = "graphene";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-fKvaor9tOsJWXFMAH0/iDQi5NYJPec2sJevbQsKhQQ4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aniso8601
|
||||
graphql-core
|
||||
graphql-relay
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
promise
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-benchmark
|
||||
pytest-mock
|
||||
pytz
|
||||
snapshottest
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--benchmark-disable"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"graphene"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "GraphQL Framework for Python";
|
||||
homepage = "https://github.com/graphql-python/graphene";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue