python3Packages.awacs: init at 2.2.0
This commit is contained in:
parent
fc627062ab
commit
115139edd3
2 changed files with 40 additions and 0 deletions
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 { };
|
avro-python3 = callPackage ../development/python-modules/avro-python3 { };
|
||||||
|
|
||||||
|
awacs = callPackage ../development/python-modules/awacs { };
|
||||||
|
|
||||||
awesome-slugify = callPackage ../development/python-modules/awesome-slugify { };
|
awesome-slugify = callPackage ../development/python-modules/awesome-slugify { };
|
||||||
|
|
||||||
awesomeversion = callPackage ../development/python-modules/awesomeversion { };
|
awesomeversion = callPackage ../development/python-modules/awesomeversion { };
|
||||||
|
|
Loading…
Reference in a new issue