depot/pkgs/by-name/ka/kas/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +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 ];
};
}