Skip to content

Commit

Permalink
chore(deps): introduce pyfatfs dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
qkaiser committed Sep 4, 2023
1 parent 1911f55 commit 313351e
Show file tree
Hide file tree
Showing 8 changed files with 102 additions and 9 deletions.
21 changes: 18 additions & 3 deletions nix/_sources/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,21 @@
},
"version": "v0.2.3"
},
"pyfatfs": {
"cargoLocks": null,
"date": null,
"extract": null,
"name": "pyfatfs",
"passthru": null,
"pinned": false,
"src": {
"name": null,
"sha256": "sha256-5J6gYhGf32GYx7u8/ghYnYkZ40rCH19gTQ7YtcREly0=",
"type": "url",
"url": "https://pypi.org/packages/source/p/pyfatfs/pyfatfs-1.0.5.tar.gz"
},
"version": "1.0.5"
},
"treelib": {
"cargoLocks": null,
"date": null,
Expand All @@ -48,11 +63,11 @@
"pinned": false,
"src": {
"name": null,
"sha256": "sha256-Gi6Dj2uZ4mkLw9mS1aHwTNtK9lZL12iIg8I9FyV7uyo=",
"sha256": "sha256-m/8a9Ba55kKmzQ4EMdFe3yaiS40MiuaK+9OAG14w+2E=",
"type": "url",
"url": "https://pypi.org/packages/source/t/treelib/treelib-1.6.4.tar.gz"
"url": "https://pypi.org/packages/source/t/treelib/treelib-1.7.0.tar.gz"
},
"version": "1.6.4"
"version": "1.7.0"
},
"ubi_reader": {
"cargoLocks": null,
Expand Down
14 changes: 11 additions & 3 deletions nix/_sources/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,20 @@
};
};
};
pyfatfs = {
pname = "pyfatfs";
version = "1.0.5";
src = fetchurl {
url = "https://pypi.org/packages/source/p/pyfatfs/pyfatfs-1.0.5.tar.gz";
sha256 = "sha256-5J6gYhGf32GYx7u8/ghYnYkZ40rCH19gTQ7YtcREly0=";
};
};
treelib = {
pname = "treelib";
version = "1.6.4";
version = "1.7.0";
src = fetchurl {
url = "https://pypi.org/packages/source/t/treelib/treelib-1.6.4.tar.gz";
sha256 = "sha256-Gi6Dj2uZ4mkLw9mS1aHwTNtK9lZL12iIg8I9FyV7uyo=";
url = "https://pypi.org/packages/source/t/treelib/treelib-1.7.0.tar.gz";
sha256 = "sha256-m/8a9Ba55kKmzQ4EMdFe3yaiS40MiuaK+9OAG14w+2E=";
};
};
ubi_reader = {
Expand Down
13 changes: 13 additions & 0 deletions nix/pyfatfs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ _sources, buildPythonPackage, fs }:

buildPythonPackage rec {
inherit (_sources.pyfatfs) pname version src;

format = "setuptools";

propagatedBuildInputs = [ fs ];

pythonImportsCheck = [ "pyfatfs" ];

doCheck = false;
}
2 changes: 2 additions & 0 deletions nix/unblob/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
, plotext
, pluggy
, poetry-core
, pyfatfs
, pyperscan
, python-magic
, rarfile
Expand Down Expand Up @@ -86,6 +87,7 @@ let
lz4
plotext
pluggy
pyfatfs
pyperscan
python-magic
structlog
Expand Down
4 changes: 4 additions & 0 deletions nvfetcher.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ fetch.pypi = "ubi_reader"
[treelib]
src.pypi = "treelib"
fetch.pypi = "treelib"

[pyfatfs]
src.pypi = "pyfatfs"
fetch.pypi = "pyfatfs"
3 changes: 3 additions & 0 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ inputs: final: prev:
# Missing from nixpkgs
treelib = pyFinal.callPackage ./nix/treelib { };

# Missing from nixpkgs
pyfatfs = pyFinal.callPackage ./nix/pyfatfs { };

# The reason for everything
unblob = pyFinal.callPackage ./nix/unblob { };

Expand Down
53 changes: 50 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ treelib = "^1.6.1"
unblob-native = "^0.1.0"
jefferson = "^0.4.5"
rich = "^13.3.5"
pyfatfs = "^1.0.5"

[tool.poetry.group.dev]
optional = true
Expand Down

0 comments on commit 313351e

Please sign in to comment.