diff options
Diffstat (limited to 'pkgs/development/python-modules/augeas/default.nix')
-rw-r--r-- | pkgs/development/python-modules/augeas/default.nix | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/pkgs/development/python-modules/augeas/default.nix b/pkgs/development/python-modules/augeas/default.nix index 48c5e723bc4c..6154b82465b9 100644 --- a/pkgs/development/python-modules/augeas/default.nix +++ b/pkgs/development/python-modules/augeas/default.nix @@ -1,40 +1,43 @@ -{ lib -, stdenv -, fetchFromGitHub -, buildPythonPackage -, unittestCheckHook -, pkg-config -, augeas -, cffi -, pkgs # for libxml2 +{ + lib, + fetchFromGitHub, + buildPythonPackage, + unittestCheckHook, + pkg-config, + augeas, + cffi, + pkgs, # for libxml2 }: buildPythonPackage rec { - pname = "augeas"; - version = "1.2.0"; - format = "setuptools"; + pname = "augeas"; + version = "1.2.0"; + format = "setuptools"; - src = fetchFromGitHub { - owner = "hercules-team"; - repo = "python-augeas"; - rev = "v${version}"; - hash = "sha256-Lq8ckra3sqN38zo1d5JsEq6U5TtLKRmqysoWNwR9J9A="; - }; + src = fetchFromGitHub { + owner = "hercules-team"; + repo = "python-augeas"; + rev = "v${version}"; + hash = "sha256-Lq8ckra3sqN38zo1d5JsEq6U5TtLKRmqysoWNwR9J9A="; + }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config ]; - buildInputs = [ augeas pkgs.libxml2 ]; + buildInputs = [ + augeas + pkgs.libxml2 + ]; - propagatedBuildInputs = [ cffi ]; + propagatedBuildInputs = [ cffi ]; - nativeCheckInputs = [ unittestCheckHook ]; + nativeCheckInputs = [ unittestCheckHook ]; - pythonImportsCheck = [ "augeas" ]; + pythonImportsCheck = [ "augeas" ]; - meta = with lib; { - changelog = "https://github.com/hercules-team/python-augeas/releases/tag/v${version}"; - description = "Pure python bindings for augeas"; - homepage = "https://github.com/hercules-team/python-augeas"; - license = licenses.lgpl2Plus; - platforms = platforms.unix; - }; + meta = with lib; { + changelog = "https://github.com/hercules-team/python-augeas/releases/tag/v${version}"; + description = "Pure python bindings for augeas"; + homepage = "https://github.com/hercules-team/python-augeas"; + license = licenses.lgpl2Plus; + platforms = platforms.unix; + }; } |