mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
b0a26b3b52
I'm not really that familiar with these two packages.
26 lines
603 B
Nix
26 lines
603 B
Nix
{ stdenv, 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 stdenv.lib; {
|
|
description = "Offline APT package manager";
|
|
license = licenses.gpl3;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|