depot/third_party/nixpkgs/pkgs/by-name/bm/bmaptool/package.nix

31 lines
679 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "bmaptool";
version = "3.8.0";
src = fetchFromGitHub {
owner = "yoctoproject";
repo = "bmaptool";
rev = "v${version}";
hash = "sha256-YPY3sNuZ/TASNBPH94iqG6AuBRq5KjioKiuxAcu94+I=";
};
propagatedBuildInputs = with python3Packages; [ six ];
# tests fail only on hydra.
doCheck = false;
meta = with lib; {
description = "BMAP Tools";
homepage = "https://github.com/yoctoproject/bmaptool";
license = licenses.gpl2Only;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
mainProgram = "bmaptool";
};
}