Merge pull request #215724 from StillerHarpo/ansible-vault
ansible-vault: init at 2.1.0
This commit is contained in:
commit
315799b55d
27
pkgs/development/python-modules/ansible-vault-rw/default.nix
Normal file
27
pkgs/development/python-modules/ansible-vault-rw/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, ansible-core, ... }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansible-vault-rw";
|
||||
version = "2.1.0";
|
||||
src = fetchPypi {
|
||||
pname = "ansible-vault";
|
||||
inherit version;
|
||||
sha256 = "sha256-XOj9tUcPFEm3a/B64qvFZIDa1INWrkBchbaG77ZNvV4";
|
||||
};
|
||||
propagatedBuildInputs = [ ansible-core ];
|
||||
|
||||
# Otherwise tests will fail to create directory
|
||||
# Permission denied: '/homeless-shelter'
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "This project aim to R/W an ansible-vault yaml file.";
|
||||
homepage = "https://github.com/tomoh1r/ansible-vault";
|
||||
changelog =
|
||||
"https://github.com/tomoh1r/ansible-vault/blob/master/CHANGES.txt";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ StillerHarpo ];
|
||||
};
|
||||
}
|
|
@ -510,6 +510,8 @@ self: super: with self; {
|
|||
|
||||
ansible-runner = callPackage ../development/python-modules/ansible-runner { };
|
||||
|
||||
ansible-vault-rw = callPackage ../development/python-modules/ansible-vault-rw { };
|
||||
|
||||
ansi = callPackage ../development/python-modules/ansi { };
|
||||
|
||||
ansicolor = callPackage ../development/python-modules/ansicolor { };
|
||||
|
|
Loading…
Reference in a new issue