ipascrape/flake.nix
2024-10-13 15:41:53 -04:00

27 lines
917 B
Nix

{
description = "IPAScrape";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { flake-utils, nixpkgs, ...}:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
ipatool = pkgs.ipatool.overrideAttrs {
# grab latest unreleased version, which allows downloading by app store ID
src = pkgs.fetchFromGitHub {
owner = "majd";
repo = "ipatool";
rev = "63ee6fc6a42a89d51c9caac632cefd65218825ab";
hash = "sha256-dbsQC/CRcT1/XBVKX/k2AUcLAOeN3IuSLl4GpAGBWPI=";
};
vendorHash = "sha256-v1hithTdsyNAQj0E9g1nRC90WdM9z4kAQuOh6OScJss=";
};
in {
devShells.default = pkgs.mkShell {
buildInputs = [ ipatool pkgs.python3 ];
};
});
}