diff options
author | Pascal Bach <pascal.bach@nextrem.ch> | 2023-08-30 21:48:50 +0200 |
---|---|---|
committer | Pascal Bach <pascal.bach@nextrem.ch> | 2023-12-17 13:34:19 +0100 |
commit | f1f12bc39a1b69ec0e89e6dc7945f473e569da6b (patch) | |
tree | 0f838a0f3ea5962a8bb46730a670e604428e3159 | |
parent | e33bfdfbfda267080bccd43c72ef3bdf28936f6e (diff) |
kas: init at 4.1
-rw-r--r-- | pkgs/by-name/ka/kas/package.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/ka/kas/package.nix b/pkgs/by-name/ka/kas/package.nix new file mode 100644 index 0000000000000..d2b0622267943 --- /dev/null +++ b/pkgs/by-name/ka/kas/package.nix @@ -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 ]; + }; +} |