Skip to content

Commit c245c3c

Browse files
committed
chore(deps): add ubireader dependency in Nix files.
1 parent b4d1b44 commit c245c3c

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

nix/python/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ let
77
pyperscan = pyperscan.packages.${system}.default.vectorscan;
88
unblob-native = unblob-native.packages.${system}.default;
99
treelib = final.callPackage ../treelib { };
10+
lzallright = final.callPackage ../lzallright { };
11+
ubi_reader = final.callPackage ../ubi_reader { };
1012
jefferson = final.callPackage ../jefferson { };
1113
};
1214
};

nix/ubi_reader/default.nix

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{ lib
2+
, buildPythonPackage
3+
, fetchPypi
4+
, python3
5+
, lzallright
6+
}:
7+
8+
buildPythonPackage rec {
9+
pname = "ubi_reader";
10+
version = "0.8.9";
11+
format = "pyproject";
12+
13+
src = fetchPypi {
14+
inherit pname version;
15+
sha256 = "sha256-b6Jp8xB6jie35F/oLEea1RF+F8J64AiiQE3/ufwu1mE=";
16+
};
17+
18+
nativeBuildInputs = with python3.pkgs; [ poetry-core ];
19+
propagatedBuildInputs = with python3.pkgs; [ lzallright ];
20+
21+
}

0 commit comments

Comments
 (0)