mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
python3Packages.awacs: init at 2.2.0
This commit is contained in:
parent
fc627062ab
commit
115139edd3
38
pkgs/development/python-modules/awacs/default.nix
Normal file
38
pkgs/development/python-modules/awacs/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, python
|
||||
|
||||
# python dependencies
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awacs";
|
||||
version = "2.2.0";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-zWRQHxjHogmSKSqnvQLJCdoilkOlJ07p00lN+U46WkU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.lists.optionals (pythonOlder "3.8") [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "awacs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "AWS Access Policy Language creation library";
|
||||
maintainers = with maintainers; [ jlesquembre ];
|
||||
license = licenses.bsd2;
|
||||
homepage = "https://github.com/cloudtools/awacs";
|
||||
};
|
||||
}
|
@ -799,6 +799,8 @@ self: super: with self; {
|
||||
|
||||
avro-python3 = callPackage ../development/python-modules/avro-python3 { };
|
||||
|
||||
awacs = callPackage ../development/python-modules/awacs { };
|
||||
|
||||
awesome-slugify = callPackage ../development/python-modules/awesome-slugify { };
|
||||
|
||||
awesomeversion = callPackage ../development/python-modules/awesomeversion { };
|
||||
|
Loading…
Reference in New Issue
Block a user