Loading pkgs/by-name/sc/scap-security-guide/package.nix 0 → 100755 +84 −0 Original line number Diff line number Diff line { ansible-lint, bats, cmake-lint, cmake, fetchFromGitHub, lib, libxml2, libxslt, linkchecker, openscap, python3Packages, stdenv, shellcheck, yamllint, }: stdenv.mkDerivation rec { pname = "scap-security-guide"; version = "0.1.75"; src = fetchFromGitHub { owner = "ComplianceAsCode"; repo = "content"; tag = "v${version}"; hash = "sha256-fS0zvWIKyGAhqgBzFuELA/1iJa4N0whsnc9h/uwA3Ao="; }; postPatch = '' substituteInPlace build-scripts/generate_guides.py \ --replace-fail "XCCDF_GUIDE_XSL = None" "XCCDF_GUIDE_XSL = \"${openscap}/share/openscap/xsl/xccdf-guide.xsl\"" ''; nativeBuildInputs = with python3Packages; [ sphinx sphinxcontrib-jinjadomain sphinx-rtd-theme sphinx-jinja ] ++ [ cmake-lint cmake ]; buildInputs = with python3Packages; [ ansible jinja2 json2html myst-parser mypy openpyxl pcre2-py pygithub pyyaml pandas pycompliance prometheus-async ruamel-yaml voluptuous-stubs yamllint ] ++ [ ansible-lint bats libxslt libxml2 linkchecker openscap shellcheck yamllint ]; meta = { description = "Security automation content in SCAP, Bash, Ansible, and other formats"; homepage = "https://github.com/ComplianceAsCode/content"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ tochiaha ]; platforms = lib.platforms.all; }; } Loading
pkgs/by-name/sc/scap-security-guide/package.nix 0 → 100755 +84 −0 Original line number Diff line number Diff line { ansible-lint, bats, cmake-lint, cmake, fetchFromGitHub, lib, libxml2, libxslt, linkchecker, openscap, python3Packages, stdenv, shellcheck, yamllint, }: stdenv.mkDerivation rec { pname = "scap-security-guide"; version = "0.1.75"; src = fetchFromGitHub { owner = "ComplianceAsCode"; repo = "content"; tag = "v${version}"; hash = "sha256-fS0zvWIKyGAhqgBzFuELA/1iJa4N0whsnc9h/uwA3Ao="; }; postPatch = '' substituteInPlace build-scripts/generate_guides.py \ --replace-fail "XCCDF_GUIDE_XSL = None" "XCCDF_GUIDE_XSL = \"${openscap}/share/openscap/xsl/xccdf-guide.xsl\"" ''; nativeBuildInputs = with python3Packages; [ sphinx sphinxcontrib-jinjadomain sphinx-rtd-theme sphinx-jinja ] ++ [ cmake-lint cmake ]; buildInputs = with python3Packages; [ ansible jinja2 json2html myst-parser mypy openpyxl pcre2-py pygithub pyyaml pandas pycompliance prometheus-async ruamel-yaml voluptuous-stubs yamllint ] ++ [ ansible-lint bats libxslt libxml2 linkchecker openscap shellcheck yamllint ]; meta = { description = "Security automation content in SCAP, Bash, Ansible, and other formats"; homepage = "https://github.com/ComplianceAsCode/content"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ tochiaha ]; platforms = lib.platforms.all; }; }