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
49
pkgs/development/python-modules/adal/default.nix
Normal file
49
pkgs/development/python-modules/adal/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpretty
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "adal";
|
||||
version = "1.2.7";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AzureAD";
|
||||
repo = "azure-activedirectory-library-for-python";
|
||||
rev = version;
|
||||
hash = "sha256-HE8/P0aohoZNeMdcQVKdz6M31FMrjsd7oVytiaD0idI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyjwt
|
||||
python-dateutil
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
httpretty
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: 'Mex [23 chars]tp error:...
|
||||
"test_failed_request"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adal"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources";
|
||||
homepage = "https://github.com/AzureAD/azure-activedirectory-library-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue