Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
915 B
Nix
44 lines
915 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
unittestCheckHook,
|
|
pkg-config,
|
|
augeas,
|
|
cffi,
|
|
pkgs, # for libxml2
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "augeas";
|
|
version = "1.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hercules-team";
|
|
repo = "python-augeas";
|
|
rev = "v${version}";
|
|
hash = "sha256-Lq8ckra3sqN38zo1d5JsEq6U5TtLKRmqysoWNwR9J9A=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
augeas
|
|
pkgs.libxml2
|
|
];
|
|
|
|
propagatedBuildInputs = [ cffi ];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
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;
|
|
};
|
|
}
|