Merge pull request #159854 from r-ryantm/auto-update/apt-offline

This commit is contained in:
Martin Weinelt 2022-02-13 21:09:37 +01:00 committed by GitHub
commit c43775b285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,14 @@
{ lib, fetchFromGitHub, python3Packages, unstableGitUpdater, gnupg }:
{ lib, fetchFromGitHub, python3Packages, nix-update-script, gnupg }:
python3Packages.buildPythonApplication rec {
pname = "apt-offline";
version = "unstable-2022-02-06";
version = "1.8.4";
src = fetchFromGitHub {
owner = "rickysarraf";
repo = pname;
rev = "2b9929773ff2b6e53d30c50c31fb3a1605631f5f";
sha256 = "mf2NM39ql6KR/YTWPYNyVe+bvWmUFYfxt5BGmU5WFpQ=";
rev = "v${version}";
sha256 = "RBf/QG0ewLS6gnQTBXi0I18z8QrxoBAqEXZ7dro9z5A=";
};
postPatch = ''
@ -28,8 +28,8 @@ python3Packages.buildPythonApplication rec {
pythonimportsCheck = [ "apt-offline" ];
passthru.updateScript = unstableGitUpdater {
url = "https://github.com/rickysarraf/apt-offline.git";
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {