Merge pull request #274549 from bachp/kas

kas: init at 4.1
This commit is contained in:
Thiago Kenji Okada
2024-01-09 13:44:42 +00:00
committed by GitHub
+29
View File
@@ -0,0 +1,29 @@
{ lib, fetchFromGitHub, python3, testers, kas }:
python3.pkgs.buildPythonApplication rec {
pname = "kas";
version = "4.1";
src = fetchFromGitHub {
owner = "siemens";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-EYz9V45b7fSKoI8w9X0LcSTojErpJHfzxcdE4I4qD2k=";
};
propagatedBuildInputs = with python3.pkgs; [ setuptools kconfiglib jsonschema distro pyyaml ];
# Tests require network as they try to clone repos
doCheck = false;
passthru.tests.version = testers.testVersion {
package = kas;
command = "${pname} --version";
};
meta = with lib; {
homepage = "https://github.com/siemens/kas";
description = "Setup tool for bitbake based projects";
license = licenses.mit;
maintainers = with maintainers; [ bachp ];
};
}