nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 python3Packages,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "bmaptool";
9 version = "3.8.0";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "yoctoproject";
14 repo = "bmaptool";
15 rev = "v${version}";
16 hash = "sha256-YPY3sNuZ/TASNBPH94iqG6AuBRq5KjioKiuxAcu94+I=";
17 };
18
19 propagatedBuildInputs = with python3Packages; [ six ];
20
21 # tests fail only on hydra.
22 doCheck = false;
23
24 meta = with lib; {
25 description = "BMAP Tools";
26 homepage = "https://github.com/yoctoproject/bmaptool";
27 license = licenses.gpl2Only;
28 maintainers = [ maintainers.dezgeg ];
29 platforms = platforms.linux;
30 mainProgram = "bmaptool";
31 };
32}