depot/third_party/nixpkgs/pkgs/tools/misc/apt-offline/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
593 B
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
version = "1.8.1";
pname = "apt-offline";
src = fetchFromGitHub {
owner = "rickysarraf";
repo = pname;
rev = "v${version}";
sha256 = "0k79d1d8jiwg1s684r05njmk1dz8gsb8a9bl4agz7m31snc11j84";
};
doCheck = false;
# Requires python-qt4 (feel free to get it working).
preFixup = ''rm "$out/bin/apt-offline-gui"'';
meta = with lib; {
description = "Offline APT package manager";
license = licenses.gpl3;
maintainers = [ ];
platforms = platforms.linux;
};
}