python3Packages.pyyaml-env-tag: init at 0.1
This commit is contained in:
parent
8ab24509e2
commit
e02779eeed
36
pkgs/development/python-modules/pyyaml-env-tag/default.nix
Normal file
36
pkgs/development/python-modules/pyyaml-env-tag/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyyaml-env-tag";
|
||||
version = "0.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pyyaml_env_tag";
|
||||
inherit version;
|
||||
sha256 = "1nsva88jsmwn0cb9jnrfiz4dvs9xakkpgfii7g1xwkx1pmsjc2bh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "yaml_env_tag" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Custom YAML tag for referencing environment variables";
|
||||
homepage = "https://github.com/waylan/pyyaml-env-tag";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7170,6 +7170,8 @@ in {
|
||||
|
||||
pyyaml = callPackage ../development/python-modules/pyyaml { };
|
||||
|
||||
pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { };
|
||||
|
||||
pyzerproc = callPackage ../development/python-modules/pyzerproc { };
|
||||
|
||||
pyzmq = callPackage ../development/python-modules/pyzmq { };
|
||||
|
Loading…
Reference in New Issue
Block a user