m 5 debmirror: init
This commit is contained in:
parent
dbb25f7288
commit
8161fcfe3a
41
makefu/5pkgs/debmirror/default.nix
Normal file
41
makefu/5pkgs/debmirror/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ stdenv, pkgs, fetchgit }:
|
||||||
|
|
||||||
|
pkgs.perlPackages.buildPerlPackage rec {
|
||||||
|
name = "debmirror-${version}";
|
||||||
|
version = "2.25";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://anonscm.debian.org/git/collab-maint/debmirror.git";
|
||||||
|
rev = "c77e5caa15a4ab6497db5d819614387e647ccf4e";
|
||||||
|
sha256 = "1zp8ff9ajw22b4wradnw1hnfcpbyx5ibqzqgk6kp79nsj1dzmm0d";
|
||||||
|
};
|
||||||
|
preConfigure = ''
|
||||||
|
touch Makefile.PL
|
||||||
|
'';
|
||||||
|
|
||||||
|
outputs = [ "out" ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin $out/share/man/man1/
|
||||||
|
cp debmirror mirror-size $out/bin
|
||||||
|
cp debmirror.1 $out/share/man/man1/
|
||||||
|
'';
|
||||||
|
propagatedBuildInputs = (with pkgs.perlPackages; [ LockFileSimple LWP]) ++
|
||||||
|
(with pkgs; [ rsync patch ed gzip diffutils findutils gnupg1 xz ]);
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "mirror apt repos";
|
||||||
|
homepage = https://tracker.debian.org/pkg/debmirror;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
||||||
|
};
|
||||||
|
}
|
@ -10,7 +10,9 @@ in
|
|||||||
alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";};
|
alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";};
|
||||||
awesomecfg = callPackage ./awesomecfg {};
|
awesomecfg = callPackage ./awesomecfg {};
|
||||||
bintray-upload = callPackage ./bintray-upload {};
|
bintray-upload = callPackage ./bintray-upload {};
|
||||||
inherit (callPackage ./devpi {}) devpi-web devpi-server;
|
debmirror = callPackage ./debmirror {};
|
||||||
|
inherit (callPackage ./devpi {}) devpi-web devpi-server devpi-client;
|
||||||
|
elchhub = callPackage ./elchhub {};
|
||||||
f3 = callPackage ./f3 {};
|
f3 = callPackage ./f3 {};
|
||||||
farpd = callPackage ./farpd {};
|
farpd = callPackage ./farpd {};
|
||||||
git-xlsx-textconv = callPackage ./git-xlsx-textconv {};
|
git-xlsx-textconv = callPackage ./git-xlsx-textconv {};
|
||||||
|
Loading…
Reference in New Issue
Block a user