nixpkgs/pkgs/by-name/bm/bmaptool/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

27 lines
672 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";
};
}