depot/third_party/nixpkgs/pkgs/by-name/ka/kas/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

29 lines
803 B
Nix

{ lib, fetchFromGitHub, python3, testers, kas }:
python3.pkgs.buildPythonApplication rec {
pname = "kas";
version = "4.5";
src = fetchFromGitHub {
owner = "siemens";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-J64yy2G8+5uT31Vpwhge5R7ZqId+NzE5ykXBHjc0qgQ=";
};
propagatedBuildInputs = with python3.pkgs; [ setuptools kconfiglib jsonschema distro pyyaml gitpython ];
# 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 ];
};
}