uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/tools/package-management/akku/default.nix
Normal file
41
pkgs/tools/package-management/akku/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, guile, curl, substituteAll }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "akku";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "akkuscm";
|
||||
repo = "akku";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pi18aamg1fd6f9ynfl7zx92052xzf0zwmhi2pwcwjs1kbah19f5";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# substitute libcurl path
|
||||
(substituteAll {
|
||||
src = ./hardcode-libcurl.patch;
|
||||
libcurl = "${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ guile ];
|
||||
|
||||
# Use a dummy package index to boostrap Akku
|
||||
preBuild = ''
|
||||
touch bootstrap.db
|
||||
'';
|
||||
|
||||
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://akkuscm.org/";
|
||||
description = "Language package manager for Scheme";
|
||||
changelog = "https://gitlab.com/akkuscm/akku/-/raw/v${version}/NEWS.md";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
||||
18
pkgs/tools/package-management/akku/hardcode-libcurl.patch
Normal file
18
pkgs/tools/package-management/akku/hardcode-libcurl.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
--- old/private/http.scm
|
||||
+++ new/private/http.scm
|
||||
@@ -101,14 +101,7 @@
|
||||
;; shouldn't, but it's an old issue.
|
||||
(log/error "Could not load libcurl. Please install the curl development(!) package.")
|
||||
(exit 1)))
|
||||
- (case (os-name)
|
||||
- ((darwin) (set! libcurl (open-shared-object "libcurl.dylib")))
|
||||
- ((msys) (set! libcurl (open-shared-object "msys-curl-4")))
|
||||
- (else
|
||||
- (guard (exn
|
||||
- (else
|
||||
- (set! libcurl (open-shared-object "libcurl.so.3"))))
|
||||
- (set! libcurl (open-shared-object "libcurl.so.4"))))))
|
||||
+ (set! libcurl (open-shared-object "@libcurl@")))
|
||||
(letrec ()
|
||||
(define %curl_global_init (foreign-procedure libcurl int curl_global_init (long)))
|
||||
(call %curl_global_init #b11)))
|
||||
46
pkgs/tools/package-management/apk-tools/default.nix
Normal file
46
pkgs/tools/package-management/apk-tools/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, stdenv, fetchFromGitLab, pkg-config, scdoc, openssl, zlib
|
||||
, luaSupport ? stdenv.hostPlatform == stdenv.buildPlatform, lua
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "apk-tools";
|
||||
version = "2.12.9";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.alpinelinux.org";
|
||||
owner = "alpine";
|
||||
repo = "apk-tools";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-WmL2sjBUwk9qw8+vHgaufaElQnbDAtOCZHoBXLcvJ18=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config scdoc ]
|
||||
++ lib.optionals luaSupport [ lua lua.pkgs.lua-zlib ];
|
||||
buildInputs = [ openssl zlib ] ++ lib.optional luaSupport lua;
|
||||
strictDeps = true;
|
||||
|
||||
makeFlags = [
|
||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||
"SBINDIR=$(out)/bin"
|
||||
"LIBDIR=$(out)/lib"
|
||||
"LUA=${if luaSupport then "lua" else "no"}"
|
||||
"LUA_LIBDIR=$(out)/lib/lua/${lib.versions.majorMinor lua.version}"
|
||||
"MANDIR=$(out)/share/man"
|
||||
"DOCDIR=$(out)/share/doc/apk"
|
||||
"INCLUDEDIR=$(out)/include"
|
||||
"PKGCONFIGDIR=$(out)/lib/pkgconfig"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.alpinelinux.org/alpine/apk-tools";
|
||||
description = "Alpine Package Keeper";
|
||||
maintainers = with maintainers; [ qyliss ];
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
13
pkgs/tools/package-management/appimage-run/default.nix
Normal file
13
pkgs/tools/package-management/appimage-run/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ appimageTools, buildFHSUserEnv, extraPkgs ? pkgs: [], appimage-run-tests ? null }:
|
||||
|
||||
let
|
||||
fhsArgs = appimageTools.defaultFhsEnvArgs;
|
||||
in buildFHSUserEnv (fhsArgs // {
|
||||
name = "appimage-run";
|
||||
|
||||
targetPkgs = pkgs: [ appimageTools.appimage-exec ]
|
||||
++ fhsArgs.targetPkgs pkgs ++ extraPkgs pkgs;
|
||||
runScript = "appimage-exec.sh";
|
||||
|
||||
passthru.tests.appimage-run = appimage-run-tests;
|
||||
})
|
||||
24
pkgs/tools/package-management/appimage-run/test.nix
Normal file
24
pkgs/tools/package-management/appimage-run/test.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ runCommand, fetchurl, appimage-run, glibcLocales, file }:
|
||||
let
|
||||
# any AppImage usable on cli, really
|
||||
sample-appImage = fetchurl {
|
||||
url = "https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage";
|
||||
sha256 = "04ws94q71bwskmhizhwmaf41ma4wabvfgjgkagr8wf3vakgv866r";
|
||||
};
|
||||
in
|
||||
runCommand "appimage-run-tests" {
|
||||
buildInputs = [ appimage-run glibcLocales file ];
|
||||
meta.platforms = [ "x86_64-linux" ];
|
||||
}
|
||||
''
|
||||
export HOME=$(mktemp -d)
|
||||
set -x
|
||||
# regression test for #101137, must come first
|
||||
LANG=fr_FR appimage-run ${sample-appImage} --list ${sample-appImage}
|
||||
# regression test for #108426
|
||||
cp ${sample-appImage} foo.appImage
|
||||
LANG=fr_FR appimage-run ${sample-appImage} --list foo.appImage
|
||||
set +x
|
||||
touch $out
|
||||
''
|
||||
|
||||
130
pkgs/tools/package-management/appimagekit/default.nix
Normal file
130
pkgs/tools/package-management/appimagekit/default.nix
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, pkg-config, cmake, autoconf, automake, libtool, makeWrapper
|
||||
, wget, xxd, desktop-file-utils, file
|
||||
, gnupg, glib, zlib, cairo, openssl, fuse, xz, squashfuse, inotify-tools, libarchive
|
||||
, squashfsTools
|
||||
, gtest
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
appimagekit_src = fetchFromGitHub {
|
||||
owner = "AppImage";
|
||||
repo = "AppImageKit";
|
||||
rev = "8bbf694455d00f48d835f56afaa1dabcd9178ba6";
|
||||
sha256 = "sha256-pqg+joomC5CI9WdKP/h/XKPsruMgZEaIOjPLOqnNPZw=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# squashfuse adapted to nix from cmake experession in "${appimagekit_src}/lib/libappimage/cmake/dependencies.cmake"
|
||||
appimagekit_squashfuse = squashfuse.overrideAttrs (attrs: rec {
|
||||
pname = "squashfuse";
|
||||
version = "unstable-2016-10-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vasi";
|
||||
repo = pname;
|
||||
rev = "1f980303b89c779eabfd0a0fdd36d6a7a311bf92";
|
||||
sha256 = "sha256-BZd1+7sRYZHthULKk3RlgMIy4uCUei45GbSEiZxLPFM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
"${appimagekit_src}/lib/libappimage/src/patches/squashfuse.patch"
|
||||
"${appimagekit_src}/lib/libappimage/src/patches/squashfuse_dlopen.patch"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
cp -v ${appimagekit_src}/lib/libappimage/src/patches/squashfuse_dlopen.[hc] .
|
||||
'';
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: libsquashfuse_ll.a(libfuseprivate_la-fuseprivate.o):(.bss+0x8):
|
||||
# multiple definition of `have_libloaded'; runtime.4.o:(.bss.have_libloaded+0x0): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
preConfigure = ''
|
||||
sed -i "/PKG_CHECK_MODULES.*/,/,:./d" configure
|
||||
sed -i "s/typedef off_t sqfs_off_t/typedef int64_t sqfs_off_t/g" common.h
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-demo" "--disable-high-level" "--without-lzo" "--without-lz4"
|
||||
];
|
||||
|
||||
postConfigure = ''
|
||||
sed -i "s|XZ_LIBS = -llzma |XZ_LIBS = -Bstatic -llzma/|g" Makefile
|
||||
'';
|
||||
|
||||
# only static libs and header files
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib $out/include
|
||||
cp -v ./.libs/*.a $out/lib
|
||||
cp -v ./*.h $out/include
|
||||
'';
|
||||
});
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "appimagekit";
|
||||
version = "unstable-2020-12-31";
|
||||
|
||||
src = appimagekit_src;
|
||||
|
||||
patches = [ ./nix.patch ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs src/embed-magic-bytes-in-file.sh
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config cmake autoconf automake libtool wget xxd
|
||||
desktop-file-utils makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib zlib cairo openssl fuse xz inotify-tools
|
||||
libarchive squashfsTools appimagekit_squashfuse
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export HOME=$(pwd)
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_SYSTEM_XZ=ON"
|
||||
"-DUSE_SYSTEM_SQUASHFUSE=ON"
|
||||
"-DSQUASHFUSE=${appimagekit_squashfuse}"
|
||||
"-DUSE_SYSTEM_LIBARCHIVE=ON"
|
||||
"-DUSE_SYSTEM_GTEST=ON"
|
||||
"-DUSE_SYSTEM_MKSQUASHFS=ON"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/appimagekit
|
||||
cp "${squashfsTools}/bin/mksquashfs" "$out/lib/appimagekit/"
|
||||
cp "${desktop-file-utils}/bin/desktop-file-validate" "$out/bin"
|
||||
|
||||
wrapProgram "$out/bin/appimagetool" \
|
||||
--prefix PATH : "${lib.makeBinPath [ file gnupg ]}" \
|
||||
--unset SOURCE_DATE_EPOCH
|
||||
'';
|
||||
|
||||
checkInputs = [ gtest ];
|
||||
|
||||
# for debugging
|
||||
passthru = {
|
||||
squashfuse = appimagekit_squashfuse;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to package desktop applications as AppImages";
|
||||
longDescription = ''
|
||||
AppImageKit is an implementation of the AppImage format that
|
||||
provides tools such as appimagetool and appimaged for handling
|
||||
AppImages.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ taeer ];
|
||||
homepage = src.meta.homepage;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
82
pkgs/tools/package-management/appimagekit/nix.patch
Normal file
82
pkgs/tools/package-management/appimagekit/nix.patch
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
Submodule lib/libappimage contains modified content
|
||||
diff --git a/lib/libappimage/cmake/dependencies.cmake b/lib/libappimage/cmake/dependencies.cmake
|
||||
index 8d96484..c7b17a1 100644
|
||||
--- a/lib/libappimage/cmake/dependencies.cmake
|
||||
+++ b/lib/libappimage/cmake/dependencies.cmake
|
||||
@@ -91,9 +91,18 @@ if(NOT USE_SYSTEM_SQUASHFUSE)
|
||||
INCLUDE_DIRS "<SOURCE_DIR>"
|
||||
)
|
||||
else()
|
||||
- message(STATUS "Using system squashfuse")
|
||||
+ message(STATUS "Using system squashfsfuse from ${SQUASHFUSE}")
|
||||
|
||||
- import_pkgconfig_target(TARGET_NAME libsquashfuse PKGCONFIG_TARGET squashfuse)
|
||||
+ add_library(libsquashfuse INTERFACE IMPORTED GLOBAL)
|
||||
+
|
||||
+ set(squashfuse_INCLUDE_DIRS "${SQUASHFUSE}/include")
|
||||
+ set(squashfuse_LIBRARIES "${SQUASHFUSE}/lib/libsquashfuse.a;${SQUASHFUSE}/lib/libsquashfuse_ll.a;${SQUASHFUSE}/lib/libfuseprivate.a")
|
||||
+
|
||||
+ set_property(
|
||||
+ TARGET libsquashfuse
|
||||
+ PROPERTY INTERFACE_LINK_LIBRARIES ${squashfuse_LIBRARIES}
|
||||
+ )
|
||||
+ include_directories(${squashfuse_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
|
||||
diff --git a/src/appimagetool.c b/src/appimagetool.c
|
||||
index 6b37419..23425e7 100644
|
||||
--- a/src/appimagetool.c
|
||||
+++ b/src/appimagetool.c
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <argp.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
-#include "squashfuse.h"
|
||||
+#include <squashfuse.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -96,7 +96,7 @@ static void die(const char *msg) {
|
||||
}
|
||||
|
||||
/* Function that prints the contents of a squashfs file
|
||||
-* using libsquashfuse (#include "squashfuse.h") */
|
||||
+* using libsquashfuse (#include <squashfuse.h>) */
|
||||
int sfs_ls(char* image) {
|
||||
sqfs_err err = SQFS_OK;
|
||||
sqfs_traverse trv;
|
||||
diff --git a/src/appimagetoolnoglib.c b/src/appimagetoolnoglib.c
|
||||
index f900e76..ffa87f8 100644
|
||||
--- a/src/appimagetoolnoglib.c
|
||||
+++ b/src/appimagetoolnoglib.c
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
-#include "squashfuse.h"
|
||||
+#include <squashfuse.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -118,7 +118,7 @@ int is_regular_file(const char *path)
|
||||
}
|
||||
|
||||
/* Function that prints the contents of a squashfs file
|
||||
- * using libsquashfuse (#include "squashfuse.h") */
|
||||
+ * using libsquashfuse (#include <squashfuse.h>) */
|
||||
int sfs_ls(char* image) {
|
||||
sqfs_err err = SQFS_OK;
|
||||
sqfs_traverse trv;
|
||||
diff --git a/src/runtime.c b/src/runtime.c
|
||||
index bada3af..70a642b 100644
|
||||
--- a/src/runtime.c
|
||||
+++ b/src/runtime.c
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
-#include "squashfuse.h"
|
||||
+#include <squashfuse.h>
|
||||
#include <squashfs_fs.h>
|
||||
#include <nonstd.h>
|
||||
50
pkgs/tools/package-management/apt-dater/default.nix
Normal file
50
pkgs/tools/package-management/apt-dater/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, autoreconfHook, pkg-config, gettext
|
||||
, vim, glib, libxml2, ncurses, popt, screen
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "apt-dater";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DE-IBH";
|
||||
repo = "apt-dater";
|
||||
rev = "v${version}";
|
||||
sha256 = "1r6gz9jkh1wxi11mcq5p9mqg0szclsaq8ic79vnfnbjdrmmdfi4y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config autoreconfHook gettext
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2 ncurses vim glib popt screen
|
||||
];
|
||||
|
||||
configureFlags = [ "--disable-history" ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace etc/Makefile.am \
|
||||
--replace 02770 0770
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace configure.ac \
|
||||
--replace "/usr/bin/screen" "${screen}/bin/screen"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/DE-IBH/apt-dater";
|
||||
description = "Terminal-based remote package update manager";
|
||||
longDescription = ''
|
||||
Provides an ncurses frontend for managing package updates on a large
|
||||
number of remote hosts using SSH. It supports Debian-based managed hosts
|
||||
as well as rug (e.g. openSUSE) and yum (e.g. CentOS) based systems.
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ c0bw3b ];
|
||||
};
|
||||
}
|
||||
86
pkgs/tools/package-management/apt/default.nix
Normal file
86
pkgs/tools/package-management/apt/default.nix
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, bzip2
|
||||
, cmake
|
||||
, curl
|
||||
, db
|
||||
, docbook_xml_dtd_45
|
||||
, docbook_xsl
|
||||
, dpkg
|
||||
, gnutls
|
||||
, gtest
|
||||
, libgcrypt
|
||||
, libseccomp
|
||||
, libtasn1
|
||||
, libxslt
|
||||
, lz4
|
||||
, perlPackages
|
||||
, pkg-config
|
||||
, triehash
|
||||
, udev
|
||||
, xxHash
|
||||
, xz
|
||||
, zstd
|
||||
, withDocs ? true , w3m, doxygen
|
||||
, withNLS ? true , gettext
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "apt";
|
||||
version = "2.4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/a/apt/apt_${version}.tar.xz";
|
||||
hash = "sha256-1tg9Ei3dfMg7LC+DmlWUDBOrk+XPYCSgENamtBENzw4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gtest
|
||||
libxslt.bin
|
||||
pkg-config
|
||||
triehash
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bzip2
|
||||
curl
|
||||
db
|
||||
dpkg
|
||||
gnutls
|
||||
libgcrypt
|
||||
libseccomp
|
||||
libtasn1
|
||||
lz4
|
||||
perlPackages.perl
|
||||
udev
|
||||
xxHash
|
||||
xz
|
||||
zstd
|
||||
] ++ lib.optionals withDocs [
|
||||
docbook_xml_dtd_45
|
||||
doxygen
|
||||
perlPackages.Po4a
|
||||
w3m
|
||||
] ++ lib.optionals withNLS [
|
||||
gettext
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBERKELEY_INCLUDE_DIRS=${db.dev}/include"
|
||||
"-DDOCBOOK_XSL=${docbook_xsl}/share/xml/docbook-xsl"
|
||||
"-DGNUTLS_INCLUDE_DIR=${gnutls.dev}/include"
|
||||
"-DROOT_GROUP=root"
|
||||
"-DUSE_NLS=${if withNLS then "ON" else "OFF"}"
|
||||
"-DWITH_DOC=${if withDocs then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://salsa.debian.org/apt-team/apt";
|
||||
description = "Command-line package management tools used on Debian-based systems";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
};
|
||||
}
|
||||
58
pkgs/tools/package-management/auditwheel/default.nix
Normal file
58
pkgs/tools/package-management/auditwheel/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib
|
||||
, bzip2
|
||||
, patchelf
|
||||
, python3
|
||||
, gnutar
|
||||
, unzip
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "auditwheel";
|
||||
version = "5.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-PuWDABSTHqhK9c0GXGN7ZhTvoD2biL2Pv8kk5+0B1ro=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
pbr
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pyelftools
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
pretend
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Integration tests require docker and networking
|
||||
disabledTestPaths = [
|
||||
"tests/integration"
|
||||
];
|
||||
|
||||
# Ensure that there are no undeclared deps
|
||||
postCheck = ''
|
||||
PATH= PYTHONPATH= $out/bin/auditwheel --version > /dev/null
|
||||
'';
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [ bzip2 gnutar patchelf unzip ])
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Auditing and relabeling cross-distribution Linux wheels";
|
||||
homepage = "https://github.com/pypa/auditwheel";
|
||||
license = with licenses; [
|
||||
mit # auditwheel and nibabel
|
||||
bsd2 # from https://github.com/matthew-brett/delocate
|
||||
bsd3 # from https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-projects/pax-utils/lddtree.py
|
||||
];
|
||||
maintainers = with maintainers; [ davhau ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
31
pkgs/tools/package-management/cargo-about/default.nix
Normal file
31
pkgs/tools/package-management/cargo-about/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, zstd, stdenv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-about";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EmbarkStudios";
|
||||
repo = "cargo-about";
|
||||
rev = version;
|
||||
sha256 = "sha256-T8Hhody0jMmZb6/xMkSvKCv4STZPbcrf/UB3APspYDM=";
|
||||
};
|
||||
|
||||
# enable pkg-config feature of zstd
|
||||
cargoPatches = [ ./zstd-pkg-config.patch ];
|
||||
|
||||
cargoSha256 = "sha256-x/HzDYNy0FDxJmhjSUUEiyahM7Sw27aC+ULP/Ii0X/8=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ zstd ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo plugin to generate list of all licenses for a crate";
|
||||
homepage = "https://github.com/EmbarkStudios/cargo-about";
|
||||
changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${version}/CHANGELOG.md";
|
||||
license = with licenses; [ mit /* or */ asl20 ];
|
||||
maintainers = with maintainers; [ evanjs figsoda ];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -183,6 +183,7 @@ dependencies = [
|
||||
"toml_edit",
|
||||
"twox-hash",
|
||||
"url",
|
||||
+ "zstd",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1039,6 +1040,12 @@ version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
||||
|
||||
+[[package]]
|
||||
+name = "pkg-config"
|
||||
+version = "0.3.22"
|
||||
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
+checksum = "12295df4f294471248581bc09bef3c38a5e46f1e36d6a37353621a0c6c357e1f"
|
||||
+
|
||||
[[package]]
|
||||
name = "ppv-lite86"
|
||||
version = "0.2.15"
|
||||
@@ -1902,4 +1909,5 @@ checksum = "2141bed8922b427761470e6bbfeff255da94fa20b0bbeab0d9297fcaf71e3aa7"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"libc",
|
||||
+ "pkg-config",
|
||||
]
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index bf2a896..35cbf7c 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -80,3 +80,5 @@ toml_edit = "0.9"
|
||||
twox-hash = "1.6"
|
||||
# Url parsing
|
||||
url = "2.2"
|
||||
+
|
||||
+zstd = { version = "*", features = ["pkg-config"] }
|
||||
46
pkgs/tools/package-management/cargo-audit/default.nix
Normal file
46
pkgs/tools/package-management/cargo-audit/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, openssl
|
||||
, pkg-config
|
||||
, Security
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-audit";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RustSec";
|
||||
repo = "rustsec";
|
||||
rev = "cargo-audit%2Fv${version}";
|
||||
sha256 = "sha256-x91x5XjIRXLhs96r06ITbpHCkHoaCaMXH+VCp6f57Gg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-/CzRkdo4kfvRwOZsfyu0zL3UnjEKCBj7wj40jlydSDI=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
libiconv
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
];
|
||||
|
||||
buildFeatures = [ "fix" ];
|
||||
|
||||
# The tests require network access which is not available in sandboxed Nix builds.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Audit Cargo.lock files for crates with security vulnerabilities";
|
||||
homepage = "https://rustsec.org";
|
||||
license = with licenses; [ mit /* or */ asl20 ];
|
||||
maintainers = with maintainers; [ basvandijk jk ];
|
||||
};
|
||||
}
|
||||
49
pkgs/tools/package-management/cargo-deb/default.nix
Normal file
49
pkgs/tools/package-management/cargo-deb/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, rust
|
||||
, libiconv
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-deb";
|
||||
version = "1.30.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mmstick";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-rAmG6Aj0D9dHVueh1BN1Chhit+XFhqGib1WTvMDy0LI=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
cargoSha256 = "sha256-MEpyEdjLWNZvqE7gJLvQ169tgmJRzec4vqQI9fF3xr8=";
|
||||
|
||||
preCheck = ''
|
||||
substituteInPlace tests/command.rs \
|
||||
--replace 'target/debug' "target/${rust.toRustTarget stdenv.buildPlatform}/release"
|
||||
|
||||
# This is an FHS specific assert depending on glibc location
|
||||
substituteInPlace src/dependencies.rs \
|
||||
--replace 'assert!(deps.iter().any(|d| d.starts_with("libc")));' '// no libc assert here'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate Debian packages from information in Cargo.toml";
|
||||
homepage = "https://github.com/mmstick/cargo-deb";
|
||||
license = licenses.mit;
|
||||
# test failures:
|
||||
# control::tests::generate_scripts_generates_maintainer_scripts_for_unit
|
||||
# dh_installsystemd::tests::find_units_in_empty_dir_finds_nothing
|
||||
# dh_lib::tests::apply_with_no_matching_files
|
||||
# dh_lib::tests::debhelper_script_subst_with_generated_file_only
|
||||
# dh_lib::tests::debhelper_script_subst_with_no_matching_files
|
||||
# dh_lib::tests::pkgfile_finds_most_specific_match_without_pkg_file
|
||||
# dh_lib::tests::pkgfile_finds_most_specific_match_without_unit_file
|
||||
broken = (stdenv.isDarwin && stdenv.isx86_64);
|
||||
maintainers = with maintainers; [ Br1ght0ne ];
|
||||
};
|
||||
}
|
||||
20
pkgs/tools/package-management/cargo-deps/default.nix
Normal file
20
pkgs/tools/package-management/cargo-deps/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ lib, fetchCrate, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-deps";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-WzvWkn2o39InESSzF5oLVP1I876b+r749hjZgh2DxOk=";
|
||||
};
|
||||
|
||||
cargoSha256 = "15pf4x2aw8sl65g63cz4yv9y78yc2wi25h9khpqx6i7gyd7dxbsc";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo subcommand for building dependency graphs of Rust projects";
|
||||
homepage = "https://github.com/m-cat/cargo-deps";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ arcnmx ];
|
||||
};
|
||||
}
|
||||
675
pkgs/tools/package-management/cargo-download/Cargo.nix
Normal file
675
pkgs/tools/package-management/cargo-download/Cargo.nix
Normal file
|
|
@ -0,0 +1,675 @@
|
|||
# Generated by carnix 0.10.0: carnix generate-nix
|
||||
{ lib, buildPlatform, buildRustCrate, buildRustCrateHelpers, cratesIO, fetchgit }:
|
||||
with buildRustCrateHelpers;
|
||||
let inherit (lib.lists) fold;
|
||||
inherit (lib.attrsets) recursiveUpdate;
|
||||
in
|
||||
rec {
|
||||
crates = cratesIO;
|
||||
cargo_download = crates.crates.cargo_download."0.1.2" deps;
|
||||
__all = [ (cargo_download {}) ];
|
||||
deps.adler32."1.0.2" = {};
|
||||
deps.aho_corasick."0.5.3" = {
|
||||
memchr = "0.1.11";
|
||||
};
|
||||
deps.ansi_term."0.9.0" = {};
|
||||
deps.arrayvec."0.4.8" = {
|
||||
nodrop = "0.1.13";
|
||||
};
|
||||
deps.atty."0.2.3" = {
|
||||
termion = "1.5.1";
|
||||
libc = "0.2.44";
|
||||
kernel32_sys = "0.2.2";
|
||||
winapi = "0.2.8";
|
||||
};
|
||||
deps.base64."0.9.3" = {
|
||||
byteorder = "1.1.0";
|
||||
safemem = "0.3.0";
|
||||
};
|
||||
deps.bitflags."0.7.0" = {};
|
||||
deps.bitflags."0.9.1" = {};
|
||||
deps.bitflags."1.0.4" = {};
|
||||
deps.byteorder."1.1.0" = {};
|
||||
deps.bytes."0.4.11" = {
|
||||
byteorder = "1.1.0";
|
||||
iovec = "0.1.1";
|
||||
};
|
||||
deps.cargo_download."0.1.2" = {
|
||||
ansi_term = "0.9.0";
|
||||
clap = "2.27.1";
|
||||
conv = "0.3.3";
|
||||
derive_error = "0.0.3";
|
||||
exitcode = "1.1.2";
|
||||
flate2 = "0.2.20";
|
||||
isatty = "0.1.5";
|
||||
itertools = "0.6.5";
|
||||
lazy_static = "0.2.10";
|
||||
log = "0.3.8";
|
||||
maplit = "0.1.6";
|
||||
reqwest = "0.9.5";
|
||||
semver = "0.9.0";
|
||||
serde_json = "1.0.6";
|
||||
slog = "1.7.1";
|
||||
slog_envlogger = "0.5.0";
|
||||
slog_stdlog = "1.1.0";
|
||||
slog_stream = "1.2.1";
|
||||
tar = "0.4.13";
|
||||
time = "0.1.38";
|
||||
};
|
||||
deps.case."0.1.0" = {};
|
||||
deps.cc."1.0.3" = {};
|
||||
deps.cfg_if."0.1.2" = {};
|
||||
deps.chrono."0.2.25" = {
|
||||
num = "0.1.40";
|
||||
time = "0.1.38";
|
||||
};
|
||||
deps.clap."2.27.1" = {
|
||||
ansi_term = "0.9.0";
|
||||
atty = "0.2.3";
|
||||
bitflags = "0.9.1";
|
||||
strsim = "0.6.0";
|
||||
textwrap = "0.9.0";
|
||||
unicode_width = "0.1.4";
|
||||
vec_map = "0.8.0";
|
||||
};
|
||||
deps.cloudabi."0.0.3" = {
|
||||
bitflags = "1.0.4";
|
||||
};
|
||||
deps.conv."0.3.3" = {
|
||||
custom_derive = "0.1.7";
|
||||
};
|
||||
deps.core_foundation."0.5.1" = {
|
||||
core_foundation_sys = "0.5.1";
|
||||
libc = "0.2.44";
|
||||
};
|
||||
deps.core_foundation_sys."0.5.1" = {
|
||||
libc = "0.2.44";
|
||||
};
|
||||
deps.crc32fast."1.1.1" = {};
|
||||
deps.crossbeam."0.2.10" = {};
|
||||
deps.crossbeam_deque."0.6.2" = {
|
||||
crossbeam_epoch = "0.6.1";
|
||||
crossbeam_utils = "0.6.1";
|
||||
};
|
||||
deps.crossbeam_epoch."0.6.1" = {
|
||||
arrayvec = "0.4.8";
|
||||
cfg_if = "0.1.2";
|
||||
crossbeam_utils = "0.6.1";
|
||||
lazy_static = "1.2.0";
|
||||
memoffset = "0.2.1";
|
||||
scopeguard = "0.3.3";
|
||||
};
|
||||
deps.crossbeam_utils."0.6.1" = {
|
||||
cfg_if = "0.1.2";
|
||||
};
|
||||
deps.custom_derive."0.1.7" = {};
|
||||
deps.derive_error."0.0.3" = {
|
||||
case = "0.1.0";
|
||||
quote = "0.3.15";
|
||||
syn = "0.11.11";
|
||||
};
|
||||
deps.dtoa."0.4.2" = {};
|
||||
deps.either."1.4.0" = {};
|
||||
deps.encoding_rs."0.8.13" = {
|
||||
cfg_if = "0.1.2";
|
||||
};
|
||||
deps.exitcode."1.1.2" = {};
|
||||
deps.filetime."0.1.14" = {
|
||||
cfg_if = "0.1.2";
|
||||
redox_syscall = "0.1.31";
|
||||
libc = "0.2.44";
|
||||
};
|
||||
deps.flate2."0.2.20" = {
|
||||
libc = "0.2.44";
|
||||
miniz_sys = "0.1.10";
|
||||
};
|
||||
deps.fnv."1.0.6" = {};
|
||||
deps.foreign_types."0.3.2" = {
|
||||
foreign_types_shared = "0.1.1";
|
||||
};
|
||||
deps.foreign_types_shared."0.1.1" = {};
|
||||
deps.fuchsia_zircon."0.2.1" = {
|
||||
fuchsia_zircon_sys = "0.2.0";
|
||||
};
|
||||
deps.fuchsia_zircon."0.3.3" = {
|
||||
bitflags = "1.0.4";
|
||||
fuchsia_zircon_sys = "0.3.3";
|
||||
};
|
||||
deps.fuchsia_zircon_sys."0.2.0" = {
|
||||
bitflags = "0.7.0";
|
||||
};
|
||||
deps.fuchsia_zircon_sys."0.3.3" = {};
|
||||
deps.futures."0.1.25" = {};
|
||||
deps.futures_cpupool."0.1.7" = {
|
||||
futures = "0.1.25";
|
||||
num_cpus = "1.8.0";
|
||||
};
|
||||
deps.h2."0.1.13" = {
|
||||
byteorder = "1.1.0";
|
||||
bytes = "0.4.11";
|
||||
fnv = "1.0.6";
|
||||
futures = "0.1.25";
|
||||
http = "0.1.14";
|
||||
indexmap = "1.0.2";
|
||||
log = "0.4.6";
|
||||
slab = "0.4.0";
|
||||
string = "0.1.2";
|
||||
tokio_io = "0.1.10";
|
||||
};
|
||||
deps.http."0.1.14" = {
|
||||
bytes = "0.4.11";
|
||||
fnv = "1.0.6";
|
||||
itoa = "0.4.3";
|
||||
};
|
||||
deps.httparse."1.2.3" = {};
|
||||
deps.hyper."0.12.16" = {
|
||||
bytes = "0.4.11";
|
||||
futures = "0.1.25";
|
||||
futures_cpupool = "0.1.7";
|
||||
h2 = "0.1.13";
|
||||
http = "0.1.14";
|
||||
httparse = "1.2.3";
|
||||
iovec = "0.1.1";
|
||||
itoa = "0.4.3";
|
||||
log = "0.4.6";
|
||||
net2 = "0.2.33";
|
||||
time = "0.1.38";
|
||||
tokio = "0.1.7";
|
||||
tokio_executor = "0.1.5";
|
||||
tokio_io = "0.1.10";
|
||||
tokio_reactor = "0.1.7";
|
||||
tokio_tcp = "0.1.2";
|
||||
tokio_threadpool = "0.1.9";
|
||||
tokio_timer = "0.2.5";
|
||||
want = "0.0.6";
|
||||
};
|
||||
deps.hyper_tls."0.3.1" = {
|
||||
bytes = "0.4.11";
|
||||
futures = "0.1.25";
|
||||
hyper = "0.12.16";
|
||||
native_tls = "0.2.2";
|
||||
tokio_io = "0.1.10";
|
||||
};
|
||||
deps.idna."0.1.4" = {
|
||||
matches = "0.1.6";
|
||||
unicode_bidi = "0.3.4";
|
||||
unicode_normalization = "0.1.5";
|
||||
};
|
||||
deps.indexmap."1.0.2" = {};
|
||||
deps.iovec."0.1.1" = {
|
||||
libc = "0.2.44";
|
||||
winapi = "0.2.8";
|
||||
};
|
||||
deps.isatty."0.1.5" = {
|
||||
libc = "0.2.44";
|
||||
kernel32_sys = "0.2.2";
|
||||
winapi = "0.2.8";
|
||||
};
|
||||
deps.itertools."0.6.5" = {
|
||||
either = "1.4.0";
|
||||
};
|
||||
deps.itoa."0.3.4" = {};
|
||||
deps.itoa."0.4.3" = {};
|
||||
deps.kernel32_sys."0.2.2" = {
|
||||
winapi = "0.2.8";
|
||||
winapi_build = "0.1.1";
|
||||
};
|
||||
deps.lazy_static."0.2.10" = {};
|
||||
deps.lazy_static."1.2.0" = {};
|
||||
deps.lazycell."1.2.0" = {};
|
||||
deps.libc."0.2.44" = {};
|
||||
deps.libflate."0.1.19" = {
|
||||
adler32 = "1.0.2";
|
||||
byteorder = "1.1.0";
|
||||
crc32fast = "1.1.1";
|
||||
};
|
||||
deps.lock_api."0.1.5" = {
|
||||
owning_ref = "0.4.0";
|
||||
scopeguard = "0.3.3";
|
||||
};
|
||||
deps.log."0.3.8" = {};
|
||||
deps.log."0.4.6" = {
|
||||
cfg_if = "0.1.2";
|
||||
};
|
||||
deps.maplit."0.1.6" = {};
|
||||
deps.matches."0.1.6" = {};
|
||||
deps.memchr."0.1.11" = {
|
||||
libc = "0.2.44";
|
||||
};
|
||||
deps.memoffset."0.2.1" = {};
|
||||
deps.mime."0.3.12" = {
|
||||
unicase = "2.1.0";
|
||||
};
|
||||
deps.mime_guess."2.0.0-alpha.6" = {
|
||||
mime = "0.3.12";
|
||||
phf = "0.7.21";
|
||||
unicase = "1.4.2";
|
||||
phf_codegen = "0.7.21";
|
||||
};
|
||||
deps.miniz_sys."0.1.10" = {
|
||||
libc = "0.2.44";
|
||||
cc = "1.0.3";
|
||||
};
|
||||
deps.mio."0.6.16" = {
|
||||
iovec = "0.1.1";
|
||||
lazycell = "1.2.0";
|
||||
log = "0.4.6";
|
||||
net2 = "0.2.33";
|
||||
slab = "0.4.0";
|
||||
fuchsia_zircon = "0.3.3";
|
||||
fuchsia_zircon_sys = "0.3.3";
|
||||
libc = "0.2.44";
|
||||
kernel32_sys = "0.2.2";
|
||||
miow = "0.2.1";
|
||||
winapi = "0.2.8";
|
||||
};
|
||||
deps.miow."0.2.1" = {
|
||||
kernel32_sys = "0.2.2";
|
||||
net2 = "0.2.33";
|
||||
winapi = "0.2.8";
|
||||
ws2_32_sys = "0.2.1";
|
||||
};
|
||||
deps.native_tls."0.2.2" = {
|
||||
lazy_static = "1.2.0";
|
||||
libc = "0.2.44";
|
||||
security_framework = "0.2.1";
|
||||
security_framework_sys = "0.2.1";
|
||||
tempfile = "3.0.5";
|
||||
openssl = "0.10.15";
|
||||
openssl_probe = "0.1.2";
|
||||
openssl_sys = "0.9.39";
|
||||
log = "0.4.6";
|
||||
schannel = "0.1.14";
|
||||
};
|
||||
deps.net2."0.2.33" = {
|
||||
cfg_if = "0.1.2";
|
||||
libc = "0.2.44";
|
||||
winapi = "0.3.6";
|
||||
};
|
||||
deps.nodrop."0.1.13" = {};
|
||||
deps.num."0.1.40" = {
|
||||
num_integer = "0.1.35";
|
||||
num_iter = "0.1.34";
|
||||
num_traits = "0.1.40";
|
||||
};
|
||||
deps.num_integer."0.1.35" = {
|
||||
num_traits = "0.1.40";
|
||||
};
|
||||
deps.num_iter."0.1.34" = {
|
||||
num_integer = "0.1.35";
|
||||
num_traits = "0.1.40";
|
||||
};
|
||||
deps.num_traits."0.1.40" = {};
|
||||
deps.num_cpus."1.8.0" = {
|
||||
libc = "0.2.44";
|
||||
};
|
||||
deps.openssl."0.10.15" = {
|
||||
bitflags = "1.0.4";
|
||||
cfg_if = "0.1.2";
|
||||
foreign_types = "0.3.2";
|
||||
lazy_static = "1.2.0";
|
||||
libc = "0.2.44";
|
||||
openssl_sys = "0.9.39";
|
||||
};
|
||||
deps.openssl_probe."0.1.2" = {};
|
||||
deps.openssl_sys."0.9.39" = {
|
||||
libc = "0.2.44";
|
||||
cc = "1.0.3";
|
||||
pkg_config = "0.3.9";
|
||||
};
|
||||
deps.owning_ref."0.4.0" = {
|
||||
stable_deref_trait = "1.1.1";
|
||||
};
|
||||
deps.parking_lot."0.6.4" = {
|
||||
lock_api = "0.1.5";
|
||||
parking_lot_core = "0.3.1";
|
||||
};
|
||||
deps.parking_lot_core."0.3.1" = {
|
||||
rand = "0.5.5";
|
||||
smallvec = "0.6.7";
|
||||
rustc_version = "0.2.3";
|
||||
libc = "0.2.44";
|
||||
winapi = "0.3.6";
|
||||
};
|
||||
deps.percent_encoding."1.0.1" = {};
|
||||
deps.phf."0.7.21" = {
|
||||
phf_shared = "0.7.21";
|
||||
};
|
||||
deps.phf_codegen."0.7.21" = {
|
||||
phf_generator = "0.7.21";
|
||||
phf_shared = "0.7.21";
|
||||
};
|
||||
deps.phf_generator."0.7.21" = {
|
||||
phf_shared = "0.7.21";
|
||||
rand = "0.3.18";
|
||||
};
|
||||
deps.phf_shared."0.7.21" = {
|
||||
siphasher = "0.2.2";
|
||||
unicase = "1.4.2";
|
||||
};
|
||||
deps.pkg_config."0.3.9" = {};
|
||||
deps.quote."0.3.15" = {};
|
||||
deps.rand."0.3.18" = {
|
||||
libc = "0.2.44";
|
||||
fuchsia_zircon = "0.2.1";
|
||||
};
|
||||
deps.rand."0.5.5" = {
|
||||
rand_core = "0.2.2";
|
||||
cloudabi = "0.0.3";
|
||||
fuchsia_zircon = "0.3.3";
|
||||
libc = "0.2.44";
|
||||
winapi = "0.3.6";
|
||||
};
|
||||
deps.rand."0.6.1" = {
|
||||
rand_chacha = "0.1.0";
|
||||
rand_core = "0.3.0";
|
||||
rand_hc = "0.1.0";
|
||||
rand_isaac = "0.1.1";
|
||||
rand_pcg = "0.1.1";
|
||||
rand_xorshift = "0.1.0";
|
||||
rustc_version = "0.2.3";
|
||||
cloudabi = "0.0.3";
|
||||
fuchsia_zircon = "0.3.3";
|
||||
libc = "0.2.44";
|
||||
winapi = "0.3.6";
|
||||
};
|
||||
deps.rand_chacha."0.1.0" = {
|
||||
rand_core = "0.3.0";
|
||||
rustc_version = "0.2.3";
|
||||
};
|
||||
deps.rand_core."0.2.2" = {
|
||||
rand_core = "0.3.0";
|
||||
};
|
||||
deps.rand_core."0.3.0" = {};
|
||||
deps.rand_hc."0.1.0" = {
|
||||
rand_core = "0.3.0";
|
||||
};
|
||||
deps.rand_isaac."0.1.1" = {
|
||||
rand_core = "0.3.0";
|
||||
};
|
||||
deps.rand_pcg."0.1.1" = {
|
||||
rand_core = "0.3.0";
|
||||
rustc_version = "0.2.3";
|
||||
};
|
||||
deps.rand_xorshift."0.1.0" = {
|
||||
rand_core = "0.3.0";
|
||||
};
|
||||
deps.redox_syscall."0.1.31" = {};
|
||||
deps.redox_termios."0.1.1" = {
|
||||
redox_syscall = "0.1.31";
|
||||
};
|
||||
deps.regex."0.1.80" = {
|
||||
aho_corasick = "0.5.3";
|
||||
memchr = "0.1.11";
|
||||
regex_syntax = "0.3.9";
|
||||
thread_local = "0.2.7";
|
||||
utf8_ranges = "0.1.3";
|
||||
};
|
||||
deps.regex_syntax."0.3.9" = {};
|
||||
deps.remove_dir_all."0.5.1" = {
|
||||
winapi = "0.3.6";
|
||||
};
|
||||
deps.reqwest."0.9.5" = {
|
||||
base64 = "0.9.3";
|
||||
bytes = "0.4.11";
|
||||
encoding_rs = "0.8.13";
|
||||
futures = "0.1.25";
|
||||
http = "0.1.14";
|
||||
hyper = "0.12.16";
|
||||
hyper_tls = "0.3.1";
|
||||
libflate = "0.1.19";
|
||||
log = "0.4.6";
|
||||
mime = "0.3.12";
|
||||
mime_guess = "2.0.0-alpha.6";
|
||||
native_tls = "0.2.2";
|
||||
serde = "1.0.21";
|
||||
serde_json = "1.0.6";
|
||||
serde_urlencoded = "0.5.1";
|
||||
tokio = "0.1.7";
|
||||
tokio_io = "0.1.10";
|
||||
url = "1.6.1";
|
||||
uuid = "0.7.1";
|
||||
};
|
||||
deps.rustc_version."0.2.3" = {
|
||||
semver = "0.9.0";
|
||||
};
|
||||
deps.safemem."0.3.0" = {};
|
||||
deps.schannel."0.1.14" = {
|
||||
lazy_static = "1.2.0";
|
||||
winapi = "0.3.6";
|
||||
};
|
||||
deps.scopeguard."0.3.3" = {};
|
||||
deps.security_framework."0.2.1" = {
|
||||
core_foundation = "0.5.1";
|
||||
core_foundation_sys = "0.5.1";
|
||||
libc = "0.2.44";
|
||||
security_framework_sys = "0.2.1";
|
||||
};
|
||||
deps.security_framework_sys."0.2.1" = {
|
||||
core_foundation_sys = "0.5.1";
|
||||
libc = "0.2.44";
|
||||
};
|
||||
deps.semver."0.9.0" = {
|
||||
semver_parser = "0.7.0";
|
||||
};
|
||||
deps.semver_parser."0.7.0" = {};
|
||||
deps.serde."1.0.21" = {};
|
||||
deps.serde_json."1.0.6" = {
|
||||
dtoa = "0.4.2";
|
||||
itoa = "0.3.4";
|
||||
num_traits = "0.1.40";
|
||||
serde = "1.0.21";
|
||||
};
|
||||
deps.serde_urlencoded."0.5.1" = {
|
||||
dtoa = "0.4.2";
|
||||
itoa = "0.3.4";
|
||||
serde = "1.0.21";
|
||||
url = "1.6.1";
|
||||
};
|
||||
deps.siphasher."0.2.2" = {};
|
||||
deps.slab."0.4.0" = {};
|
||||
deps.slog."1.7.1" = {};
|
||||
deps.slog_envlogger."0.5.0" = {
|
||||
log = "0.3.8";
|
||||
regex = "0.1.80";
|
||||
slog = "1.7.1";
|
||||
slog_stdlog = "1.1.0";
|
||||
slog_term = "1.5.0";
|
||||
};
|
||||
deps.slog_extra."0.1.2" = {
|
||||
slog = "1.7.1";
|
||||
thread_local = "0.3.4";
|
||||
};
|
||||
deps.slog_stdlog."1.1.0" = {
|
||||
crossbeam = "0.2.10";
|
||||
lazy_static = "0.2.10";
|
||||
log = "0.3.8";
|
||||
slog = "1.7.1";
|
||||
slog_term = "1.5.0";
|
||||
};
|
||||
deps.slog_stream."1.2.1" = {
|
||||
slog = "1.7.1";
|
||||
slog_extra = "0.1.2";
|
||||
thread_local = "0.3.4";
|
||||
};
|
||||
deps.slog_term."1.5.0" = {
|
||||
chrono = "0.2.25";
|
||||
isatty = "0.1.5";
|
||||
slog = "1.7.1";
|
||||
slog_stream = "1.2.1";
|
||||
thread_local = "0.3.4";
|
||||
};
|
||||
deps.smallvec."0.6.7" = {
|
||||
unreachable = "1.0.0";
|
||||
};
|
||||
deps.stable_deref_trait."1.1.1" = {};
|
||||
deps.string."0.1.2" = {};
|
||||
deps.strsim."0.6.0" = {};
|
||||
deps.syn."0.11.11" = {
|
||||
quote = "0.3.15";
|
||||
synom = "0.11.3";
|
||||
unicode_xid = "0.0.4";
|
||||
};
|
||||
deps.synom."0.11.3" = {
|
||||
unicode_xid = "0.0.4";
|
||||
};
|
||||
deps.tar."0.4.13" = {
|
||||
filetime = "0.1.14";
|
||||
libc = "0.2.44";
|
||||
xattr = "0.1.11";
|
||||
};
|
||||
deps.tempfile."3.0.5" = {
|
||||
cfg_if = "0.1.2";
|
||||
rand = "0.6.1";
|
||||
remove_dir_all = "0.5.1";
|
||||
redox_syscall = "0.1.31";
|
||||
libc = "0.2.44";
|
||||
winapi = "0.3.6";
|
||||
};
|
||||
deps.termion."1.5.1" = {
|
||||
libc = "0.2.44";
|
||||
redox_syscall = "0.1.31";
|
||||
redox_termios = "0.1.1";
|
||||
};
|
||||
deps.textwrap."0.9.0" = {
|
||||
unicode_width = "0.1.4";
|
||||
};
|
||||
deps.thread_id."2.0.0" = {
|
||||
kernel32_sys = "0.2.2";
|
||||
libc = "0.2.44";
|
||||
};
|
||||
deps.thread_local."0.2.7" = {
|
||||
thread_id = "2.0.0";
|
||||
};
|
||||
deps.thread_local."0.3.4" = {
|
||||
lazy_static = "0.2.10";
|
||||
unreachable = "1.0.0";
|
||||
};
|
||||
deps.time."0.1.38" = {
|
||||
libc = "0.2.44";
|
||||
redox_syscall = "0.1.31";
|
||||
kernel32_sys = "0.2.2";
|
||||
winapi = "0.2.8";
|
||||
};
|
||||
deps.tokio."0.1.7" = {
|
||||
futures = "0.1.25";
|
||||
mio = "0.6.16";
|
||||
tokio_executor = "0.1.5";
|
||||
tokio_fs = "0.1.4";
|
||||
tokio_io = "0.1.10";
|
||||
tokio_reactor = "0.1.7";
|
||||
tokio_tcp = "0.1.2";
|
||||
tokio_threadpool = "0.1.9";
|
||||
tokio_timer = "0.2.5";
|
||||
tokio_udp = "0.1.3";
|
||||
};
|
||||
deps.tokio_codec."0.1.1" = {
|
||||
bytes = "0.4.11";
|
||||
futures = "0.1.25";
|
||||
tokio_io = "0.1.10";
|
||||
};
|
||||
deps.tokio_executor."0.1.5" = {
|
||||
futures = "0.1.25";
|
||||
};
|
||||
deps.tokio_fs."0.1.4" = {
|
||||
futures = "0.1.25";
|
||||
tokio_io = "0.1.10";
|
||||
tokio_threadpool = "0.1.9";
|
||||
};
|
||||
deps.tokio_io."0.1.10" = {
|
||||
bytes = "0.4.11";
|
||||
futures = "0.1.25";
|
||||
log = "0.4.6";
|
||||
};
|
||||
deps.tokio_reactor."0.1.7" = {
|
||||
crossbeam_utils = "0.6.1";
|
||||
futures = "0.1.25";
|
||||
lazy_static = "1.2.0";
|
||||
log = "0.4.6";
|
||||
mio = "0.6.16";
|
||||
num_cpus = "1.8.0";
|
||||
parking_lot = "0.6.4";
|
||||
slab = "0.4.0";
|
||||
tokio_executor = "0.1.5";
|
||||
tokio_io = "0.1.10";
|
||||
};
|
||||
deps.tokio_tcp."0.1.2" = {
|
||||
bytes = "0.4.11";
|
||||
futures = "0.1.25";
|
||||
iovec = "0.1.1";
|
||||
mio = "0.6.16";
|
||||
tokio_io = "0.1.10";
|
||||
tokio_reactor = "0.1.7";
|
||||
};
|
||||
deps.tokio_threadpool."0.1.9" = {
|
||||
crossbeam_deque = "0.6.2";
|
||||
crossbeam_utils = "0.6.1";
|
||||
futures = "0.1.25";
|
||||
log = "0.4.6";
|
||||
num_cpus = "1.8.0";
|
||||
rand = "0.6.1";
|
||||
tokio_executor = "0.1.5";
|
||||
};
|
||||
deps.tokio_timer."0.2.5" = {
|
||||
futures = "0.1.25";
|
||||
tokio_executor = "0.1.5";
|
||||
};
|
||||
deps.tokio_udp."0.1.3" = {
|
||||
bytes = "0.4.11";
|
||||
futures = "0.1.25";
|
||||
log = "0.4.6";
|
||||
mio = "0.6.16";
|
||||
tokio_codec = "0.1.1";
|
||||
tokio_io = "0.1.10";
|
||||
tokio_reactor = "0.1.7";
|
||||
};
|
||||
deps.try_lock."0.2.2" = {};
|
||||
deps.unicase."1.4.2" = {
|
||||
version_check = "0.1.3";
|
||||
};
|
||||
deps.unicase."2.1.0" = {
|
||||
version_check = "0.1.3";
|
||||
};
|
||||
deps.unicode_bidi."0.3.4" = {
|
||||
matches = "0.1.6";
|
||||
};
|
||||
deps.unicode_normalization."0.1.5" = {};
|
||||
deps.unicode_width."0.1.4" = {};
|
||||
deps.unicode_xid."0.0.4" = {};
|
||||
deps.unreachable."1.0.0" = {
|
||||
void = "1.0.2";
|
||||
};
|
||||
deps.url."1.6.1" = {
|
||||
idna = "0.1.4";
|
||||
matches = "0.1.6";
|
||||
percent_encoding = "1.0.1";
|
||||
};
|
||||
deps.utf8_ranges."0.1.3" = {};
|
||||
deps.uuid."0.7.1" = {
|
||||
rand = "0.5.5";
|
||||
};
|
||||
deps.vcpkg."0.2.2" = {};
|
||||
deps.vec_map."0.8.0" = {};
|
||||
deps.version_check."0.1.3" = {};
|
||||
deps.void."1.0.2" = {};
|
||||
deps.want."0.0.6" = {
|
||||
futures = "0.1.25";
|
||||
log = "0.4.6";
|
||||
try_lock = "0.2.2";
|
||||
};
|
||||
deps.winapi."0.2.8" = {};
|
||||
deps.winapi."0.3.6" = {
|
||||
winapi_i686_pc_windows_gnu = "0.4.0";
|
||||
winapi_x86_64_pc_windows_gnu = "0.4.0";
|
||||
};
|
||||
deps.winapi_build."0.1.1" = {};
|
||||
deps.winapi_i686_pc_windows_gnu."0.4.0" = {};
|
||||
deps.winapi_x86_64_pc_windows_gnu."0.4.0" = {};
|
||||
deps.ws2_32_sys."0.2.1" = {
|
||||
winapi = "0.2.8";
|
||||
winapi_build = "0.1.1";
|
||||
};
|
||||
deps.xattr."0.1.11" = {
|
||||
libc = "0.2.44";
|
||||
};
|
||||
}
|
||||
5289
pkgs/tools/package-management/cargo-download/crates-io.nix
Normal file
5289
pkgs/tools/package-management/cargo-download/crates-io.nix
Normal file
File diff suppressed because it is too large
Load diff
14
pkgs/tools/package-management/cargo-download/default.nix
Normal file
14
pkgs/tools/package-management/cargo-download/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ stdenv, lib, fetchgit, darwin, buildPlatform
|
||||
, buildRustCrate, buildRustCrateHelpers, defaultCrateOverrides }:
|
||||
|
||||
((import ./Cargo.nix {
|
||||
inherit lib buildPlatform buildRustCrate buildRustCrateHelpers fetchgit;
|
||||
cratesIO = import ./crates-io.nix { inherit lib buildRustCrate buildRustCrateHelpers; };
|
||||
}).cargo_download {}).override {
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
cargo-download = attrs: {
|
||||
buildInputs = lib.optional stdenv.isDarwin
|
||||
darwin.apple_sdk.frameworks.Security;
|
||||
};
|
||||
};
|
||||
}
|
||||
41
pkgs/tools/package-management/cargo-edit/default.nix
Normal file
41
pkgs/tools/package-management/cargo-edit/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
, zlib
|
||||
, stdenv
|
||||
, libiconv
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-edit";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "killercup";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4N45IBDlIVbZbZgdX2DBmjolFHwzPjHVyWGadhR1FFw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-o7NDw7P6Flut0ZFnDUdVCmuUzW2P+KXyfu0gApTEx60=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl zlib ] ++ lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
Security
|
||||
];
|
||||
|
||||
doCheck = false; # integration tests depend on changing cargo config
|
||||
|
||||
meta = with lib; {
|
||||
description = "A utility for managing cargo dependencies from the command line";
|
||||
homepage = "https://github.com/killercup/cargo-edit";
|
||||
changelog = "https://github.com/killercup/cargo-edit/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ Br1ght0ne figsoda gerschtli jb55 killercup ];
|
||||
};
|
||||
}
|
||||
22
pkgs/tools/package-management/cargo-graph/default.nix
Normal file
22
pkgs/tools/package-management/cargo-graph/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-graph";
|
||||
version = "0.2.0-d895af1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kbknapp";
|
||||
repo = "cargo-graph";
|
||||
# The last release (v0.2.0) is from 2015. Since then there have been some
|
||||
# bug fixes committed that would be good to have.
|
||||
rev = "d895af1b7840c7ae8eddaf4e990bfa594c22ba01";
|
||||
sha256 = "0myg26cssmbakz53dl61lswsbaqnjqlbc30c2571pq8f7gvz2qv5";
|
||||
};
|
||||
|
||||
cargoSha256 = "0wyvly7aq4njlxnmgpfgbh08fxgqh85kw7d938pm6qxmj27zn4p2";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo subcommand for creating GraphViz DOT files and dependency graphs";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ basvandijk ];
|
||||
};
|
||||
}
|
||||
35
pkgs/tools/package-management/cargo-kcov/default.nix
Normal file
35
pkgs/tools/package-management/cargo-kcov/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, kcov
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-kcov";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kennytm";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0hqplgj3i8js42v2kj44khk543a93sk3n6wlfpv3c84pdqlm29br";
|
||||
};
|
||||
|
||||
cargoSha256 = "0m5gfyjzzwd8wkbb388vmd785dy334x0migq3ssi7dlah9zx62bj";
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/cargo-kcov \
|
||||
--prefix PATH : ${lib.makeBinPath [ kcov ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo subcommand to run kcov to get coverage report on Linux";
|
||||
homepage = "https://github.com/kennytm/cargo-kcov";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ saschagrunert ];
|
||||
};
|
||||
}
|
||||
20
pkgs/tools/package-management/cargo-license/default.nix
Normal file
20
pkgs/tools/package-management/cargo-license/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ lib, rustPlatform, fetchCrate }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-license";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-rAHw5B/rK0N8myTzTyv/IUq3o+toWO5HOSaHQko2lPI=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-DkINY3j0x0fUynMX8+pxNFwKI/YGqEv1M2a55FuKBGY=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo subcommand to see license of dependencies";
|
||||
homepage = "https://github.com/onur/cargo-license";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ basvandijk ];
|
||||
};
|
||||
}
|
||||
38
pkgs/tools/package-management/cargo-outdated/default.nix
Normal file
38
pkgs/tools/package-management/cargo-outdated/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, pkg-config
|
||||
, openssl
|
||||
, stdenv
|
||||
, curl
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-outdated";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-vEgYmtRAashBRsGDExewqaGsVYF7EJ4ky+cE/PMFW38=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-xstcKIXQDk4ngwWSzMueO47U2oFRHAqvvjRnDXFsPE8=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||
curl
|
||||
Security
|
||||
SystemConfiguration
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo subcommand for displaying when Rust dependencies are out of date";
|
||||
homepage = "https://github.com/kbknapp/cargo-outdated";
|
||||
changelog = "https://github.com/kbknapp/cargo-outdated/blob/${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ sondr3 ivan ];
|
||||
};
|
||||
}
|
||||
27
pkgs/tools/package-management/cargo-release/default.nix
Normal file
27
pkgs/tools/package-management/cargo-release/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, Security, openssl, pkg-config }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-release";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crate-ci";
|
||||
repo = "cargo-release";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-QTHevbEifYsf/nCmkarbrHgijjlHragLieCpVZBfKGQ=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-hEHEcB42mRn6pO5413wQbEWfJNBbiOSUuy9PGjP5EYw=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
|
||||
homepage = "https://github.com/sunng87/cargo-release";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ gerschtli ];
|
||||
};
|
||||
}
|
||||
49
pkgs/tools/package-management/cargo-update/default.nix
Normal file
49
pkgs/tools/package-management/cargo-update/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib, stdenv
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, cmake
|
||||
, pkg-config
|
||||
, installShellFiles
|
||||
, ronn
|
||||
, curl
|
||||
, libgit2
|
||||
, libssh2
|
||||
, openssl
|
||||
, Security
|
||||
, zlib
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-update";
|
||||
version = "8.1.4";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Q8Cd//QDQ6kWgp+QEn9/h69jfaUNE1/+oqQne/2wvAg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-khJ6EZVJ96geD1VzvR8E2ZgHfxhX/NTPVoVIMhCh+c4=";
|
||||
|
||||
nativeBuildInputs = [ cmake installShellFiles pkg-config ronn ];
|
||||
|
||||
buildInputs = [ libgit2 libssh2 openssl zlib ]
|
||||
++ lib.optionals stdenv.isDarwin [ curl Security ];
|
||||
|
||||
postBuild = ''
|
||||
# Man pages contain non-ASCII, so explicitly set encoding to UTF-8.
|
||||
HOME=$TMPDIR \
|
||||
RUBYOPT="-E utf-8:utf-8" \
|
||||
ronn -r --organization="cargo-update developers" man/*.md
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage man/*.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo subcommand for checking and applying updates to installed executables";
|
||||
homepage = "https://github.com/nabijaczleweli/cargo-update";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gerschtli Br1ght0ne johntitor ];
|
||||
};
|
||||
}
|
||||
48
pkgs/tools/package-management/cde/default.nix
Normal file
48
pkgs/tools/package-management/cde/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cde";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "usnistgov";
|
||||
repo = "corr-CDE";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-s375gtqBWx0GGXALXR+fN4bb3tmpvPNu/3bNz+75UWU=";
|
||||
};
|
||||
|
||||
# The build is small, so there should be no problem
|
||||
# running this locally. There is also a use case for
|
||||
# older systems, where modern binaries might not be
|
||||
# useful.
|
||||
preferLocalBuild = true;
|
||||
|
||||
patchBuild = ''
|
||||
sed -i -e '/install/d' $src/Makefile
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: ../readelf-mini/libreadelf-mini.a(dwarf.o):/build/source/readelf-mini/dwarf.c:64:
|
||||
# multiple definition of `do_wide'; ../readelf-mini/libreadelf-mini.a(readelf-mini.o):/build/source/readelf-mini/readelf-mini.c:170: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/bin
|
||||
install -t $out/bin cde cde-exec
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/usnistgov/corr-CDE";
|
||||
description = "A packaging tool for building portable packages";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.rlupton20 ];
|
||||
platforms = platforms.linux;
|
||||
# error: architecture aarch64 is not supported by bundled strace
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
}
|
||||
76
pkgs/tools/package-management/checkinstall/default.nix
Normal file
76
pkgs/tools/package-management/checkinstall/default.nix
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{lib, stdenv, fetchurl, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "checkinstall";
|
||||
version = "1.6.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-${version}.tar.gz";
|
||||
sha256 = "1x4kslyvfd6lm6zd1ylbq2pjxrafb77ydfjaqi16sa5qywn1jqfw";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Include empty directories created by the installation script in
|
||||
# generated packages. (E.g., if a `make install' does `mkdir
|
||||
# /var/lib/mystuff', then /var/lib/mystuff should be included in
|
||||
# the package.)
|
||||
./empty-dirs.patch
|
||||
|
||||
# Implement the getxattr(), lgetxattr(), __open_2() and
|
||||
# __open64_2() functions. Needed for doing builds on Ubuntu 8.10.
|
||||
./missing-functions.patch
|
||||
|
||||
# Don't include directories in the Debian `conffiles' file.
|
||||
./etc-dirs.patch
|
||||
|
||||
# Support Glibc >= 2.8.
|
||||
./glibc-check.patch
|
||||
|
||||
# Fix a `conflicting types for 'scandir'' error on Glibc 2.11.
|
||||
./scandir.patch
|
||||
|
||||
# Fix a `conflicting types for 'readlink'' error since Glibc 2.19
|
||||
./readlink-types.patch
|
||||
|
||||
# Fix BuildRoot handling in RPM builds.
|
||||
./set-buildroot.patch
|
||||
]
|
||||
|
||||
++ lib.optional (stdenv.hostPlatform.system == "x86_64-linux")
|
||||
# Force use of old memcpy so that installwatch works on Glibc <
|
||||
# 2.14.
|
||||
./use-old-memcpy.patch;
|
||||
|
||||
buildInputs = [gettext];
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(PREFIX=$out)
|
||||
|
||||
substituteInPlace checkinstall --replace /usr/local/lib/checkinstall $out/lib/checkinstall
|
||||
substituteInPlace checkinstallrc-dist --replace /usr/local $out
|
||||
|
||||
substituteInPlace installwatch/create-localdecls \
|
||||
--replace /usr/include/unistd.h ${stdenv.cc.libc.dev}/include/unistd.h
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
# Clear the RPATH, otherwise installwatch.so won't work properly
|
||||
# as an LD_PRELOADed library on applications that load against a
|
||||
# different Glibc.
|
||||
''
|
||||
patchelf --set-rpath "" $out/lib/installwatch.so
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://checkinstall.izto.org/";
|
||||
description = "A tool for automatically generating Slackware, RPM or Debian packages when doing `make install'";
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
knownVulnerabilities = [
|
||||
"CVE-2020-25031"
|
||||
];
|
||||
};
|
||||
}
|
||||
49
pkgs/tools/package-management/checkinstall/empty-dirs.patch
Normal file
49
pkgs/tools/package-management/checkinstall/empty-dirs.patch
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
diff -rc checkinstall-orig/checkinstall checkinstall/checkinstall
|
||||
*** checkinstall-orig/checkinstall 2009-03-12 13:40:24.000000000 +0100
|
||||
--- checkinstall/checkinstall 2009-03-27 14:51:55.000000000 +0100
|
||||
***************
|
||||
*** 1635,1644 ****
|
||||
|
||||
# Find regular files first
|
||||
[ $DEBUG -gt 0 ] && echo "debug: BASE_TMP_DIR: $BASE_TMP_DIR"
|
||||
! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access)' | cut -f 3 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | sort -u > /${TMP_DIR}/newfiles
|
||||
|
||||
# symlinks are next
|
||||
! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access)' | cut -f 4 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | grep -v "#success" | sort -u >> /${TMP_DIR}/newfiles
|
||||
# Create another list of modified files that exclude all files the
|
||||
# install script wanted to create but did not, e.g because they already
|
||||
# existed.
|
||||
--- 1635,1648 ----
|
||||
|
||||
# Find regular files first
|
||||
[ $DEBUG -gt 0 ] && echo "debug: BASE_TMP_DIR: $BASE_TMP_DIR"
|
||||
! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access|mkdir)' | cut -f 3 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | sort -u > /${TMP_DIR}/newfiles
|
||||
|
||||
# symlinks are next
|
||||
! cat /${TMP_DIR}/newfiles.tmp | egrep -v '^[-0-9][0-9]*[[:space:]]*(unlink|access|mkdir)' | cut -f 4 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | grep -v "#success" | sort -u >> /${TMP_DIR}/newfiles
|
||||
!
|
||||
! # And finally newly created directories.
|
||||
! cat /${TMP_DIR}/newfiles.tmp | egrep '^0[[:space:]]+mkdir[[:space:]]+' | cut -f 3 | egrep -v "^(/dev|$BASE_TMP_DIR|/tmp)" | sort -u >> /${TMP_DIR}/newfiles
|
||||
!
|
||||
# Create another list of modified files that exclude all files the
|
||||
# install script wanted to create but did not, e.g because they already
|
||||
# existed.
|
||||
***************
|
||||
*** 1738,1746 ****
|
||||
cd /
|
||||
|
||||
( cat /${TMP_DIR}/newfiles | while read i; do
|
||||
! if [ ! -d "${TRANSLROOT}${i}" -o -L "${TRANSLROOT}${i}" ]; then
|
||||
! echo ".${i}"
|
||||
! fi
|
||||
done ) > /${TMP_DIR}/newfiles-tar
|
||||
|
||||
# Here it gets tricky: we need to copy all new files to our build dir,
|
||||
--- 1742,1748 ----
|
||||
cd /
|
||||
|
||||
( cat /${TMP_DIR}/newfiles | while read i; do
|
||||
! echo ".${i}"
|
||||
done ) > /${TMP_DIR}/newfiles-tar
|
||||
|
||||
# Here it gets tricky: we need to copy all new files to our build dir,
|
||||
25
pkgs/tools/package-management/checkinstall/etc-dirs.patch
Normal file
25
pkgs/tools/package-management/checkinstall/etc-dirs.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
diff -rc checkinstall-orig/checkinstall checkinstall/checkinstall
|
||||
*** checkinstall-orig/checkinstall 2009-03-27 17:07:26.000000000 +0100
|
||||
--- checkinstall/checkinstall 2009-04-14 16:34:08.000000000 +0200
|
||||
***************
|
||||
*** 2607,2615 ****
|
||||
chmod 755 $BUILD_DIR/DEBIAN/postrm
|
||||
fi
|
||||
|
||||
! # Tag files in /etc to be conffiles
|
||||
find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
|
||||
! grep -v '^/etc$' > $BUILD_DIR/DEBIAN/conffiles
|
||||
|
||||
# The package will be saved here (ignores <epoch>: prefix):
|
||||
DEBPKG="${DIRECTORIO_FUENTE}/${NAME}_`echo ${VERSION} | sed -e 's/^[0123456789]*://'`-${RELEASE}_${ARCHITECTURE}.deb"
|
||||
--- 2607,2616 ----
|
||||
chmod 755 $BUILD_DIR/DEBIAN/postrm
|
||||
fi
|
||||
|
||||
! # Tag non-directory files in /etc to be conffiles
|
||||
find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
|
||||
! (while read fn; do test ! -d "$BUILD_DIR/$fn" && echo "$fn"; done) \
|
||||
! > $BUILD_DIR/DEBIAN/conffiles
|
||||
|
||||
# The package will be saved here (ignores <epoch>: prefix):
|
||||
DEBPKG="${DIRECTORIO_FUENTE}/${NAME}_`echo ${VERSION} | sed -e 's/^[0123456789]*://'`-${RELEASE}_${ARCHITECTURE}.deb"
|
||||
71
pkgs/tools/package-management/checkinstall/glibc-check.patch
Normal file
71
pkgs/tools/package-management/checkinstall/glibc-check.patch
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
diff -x '*~' -rc checkinstall-1.6.2pre20081116-orig/installwatch/create-localdecls checkinstall-1.6.2pre20081116/installwatch/create-localdecls
|
||||
*** checkinstall-1.6.2pre20081116-orig/installwatch/create-localdecls 2008-11-16 17:18:58.000000000 +0100
|
||||
--- checkinstall-1.6.2pre20081116/installwatch/create-localdecls 2009-09-18 17:01:13.000000000 +0200
|
||||
***************
|
||||
*** 46,52 ****
|
||||
echo -n 'Checking libc version... '
|
||||
gcc -Wall -o libctest libctest.c
|
||||
VERSION=`ldd libctest | grep libc\\.so | awk '{print $1}'`
|
||||
- rm libctest
|
||||
echo $VERSION
|
||||
echo "#define LIBC_VERSION \"$VERSION\"" >> $OUTFILE
|
||||
if test "$VERSION" = 'libc.so.5' ; then
|
||||
--- 46,51 ----
|
||||
***************
|
||||
*** 56,62 ****
|
||||
|
||||
if test "$VERSION" = 'libc.so.6' ; then
|
||||
echo -n 'Checking glibc subversion... '
|
||||
! tmp="`ldd /bin/sh | grep libc.so 2> /dev/null`"
|
||||
LibcPath=`expr "$tmp" : '[^/]*\(/[^ ]*\)'`
|
||||
tmp="`strings $LibcPath | grep -i 'c library'`"
|
||||
OsLibcMajor=`expr "$tmp" : '.* \([0-9][0-9]*\)'`
|
||||
--- 55,61 ----
|
||||
|
||||
if test "$VERSION" = 'libc.so.6' ; then
|
||||
echo -n 'Checking glibc subversion... '
|
||||
! tmp="`ldd libctest | grep libc.so 2> /dev/null`"
|
||||
LibcPath=`expr "$tmp" : '[^/]*\(/[^ ]*\)'`
|
||||
tmp="`strings $LibcPath | grep -i 'c library'`"
|
||||
OsLibcMajor=`expr "$tmp" : '.* \([0-9][0-9]*\)'`
|
||||
***************
|
||||
*** 86,103 ****
|
||||
6)
|
||||
echo '#define GLIBC_MINOR 6' >> $OUTFILE
|
||||
SUBVERSION='glibc-2.6' ;;
|
||||
! 7)
|
||||
echo '#define GLIBC_MINOR 7' >> $OUTFILE
|
||||
SUBVERSION='glibc-2.7' ;;
|
||||
*)
|
||||
- echo 'Treated as glibc >= 2.1 (finger crossed)'
|
||||
echo '#define GLIBC_MINOR 1' >> $OUTFILE
|
||||
SUBVERSION='glibc-2.1' ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo >> $OUTFILE
|
||||
echo '#endif' >> $OUTFILE
|
||||
|
||||
--- 85,104 ----
|
||||
6)
|
||||
echo '#define GLIBC_MINOR 6' >> $OUTFILE
|
||||
SUBVERSION='glibc-2.6' ;;
|
||||
! 7|8|9|10|11|12|13|14|15|16|17|18)
|
||||
echo '#define GLIBC_MINOR 7' >> $OUTFILE
|
||||
SUBVERSION='glibc-2.7' ;;
|
||||
*)
|
||||
echo '#define GLIBC_MINOR 1' >> $OUTFILE
|
||||
SUBVERSION='glibc-2.1' ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
+ echo $SUBVERSION
|
||||
fi
|
||||
|
||||
+ rm libctest
|
||||
+
|
||||
echo >> $OUTFILE
|
||||
echo '#endif' >> $OUTFILE
|
||||
|
||||
|
|
@ -0,0 +1,162 @@
|
|||
diff -rc checkinstall-orig/installwatch/installwatch.c checkinstall/installwatch/installwatch.c
|
||||
*** checkinstall-orig/installwatch/installwatch.c 2009-03-12 13:40:24.000000000 +0100
|
||||
--- checkinstall/installwatch/installwatch.c 2009-03-27 22:42:19.000000000 +0100
|
||||
***************
|
||||
*** 110,115 ****
|
||||
--- 110,117 ----
|
||||
static int (*true_setxattr)(const char *,const char *,const void *,
|
||||
size_t, int);
|
||||
static int (*true_removexattr)(const char *,const char *);
|
||||
+ static ssize_t (*true_getxattr)(const char *,const char *,const void *,size_t);
|
||||
+ static ssize_t (*true_lgetxattr)(const char *,const char *,const void *,size_t);
|
||||
|
||||
#if(GLIBC_MINOR >= 1)
|
||||
|
||||
***************
|
||||
*** 369,374 ****
|
||||
--- 371,378 ----
|
||||
true_unlink = dlsym(libc_handle, "unlink");
|
||||
true_utime = dlsym(libc_handle, "utime");
|
||||
true_setxattr = dlsym(libc_handle, "setxattr");
|
||||
+ true_getxattr = dlsym(libc_handle, "getxattr");
|
||||
+ true_lgetxattr = dlsym(libc_handle, "lgetxattr");
|
||||
true_utimes = dlsym(libc_handle, "utimes");
|
||||
true_access = dlsym(libc_handle, "access");
|
||||
|
||||
***************
|
||||
*** 3494,3499 ****
|
||||
--- 3498,3587 ----
|
||||
return result;
|
||||
}
|
||||
|
||||
+ int getxattr (const char *pathname, const char *name,
|
||||
+ const void *value, size_t size)
|
||||
+ {
|
||||
+ int result;
|
||||
+ instw_t instw;
|
||||
+ int status;
|
||||
+
|
||||
+ REFCOUNT;
|
||||
+
|
||||
+ if (!libc_handle)
|
||||
+ initialize();
|
||||
+
|
||||
+ #if DEBUG
|
||||
+ debug(2,"getxattr(%s,%s)\n",pathname,name);
|
||||
+ #endif
|
||||
+
|
||||
+ /* We were asked to work in "real" mode */
|
||||
+ if( !(__instw.gstatus & INSTW_INITIALIZED) ||
|
||||
+ !(__instw.gstatus & INSTW_OKWRAP) ) {
|
||||
+ result=true_getxattr(pathname,name,value,size);
|
||||
+ return result;
|
||||
+ }
|
||||
+
|
||||
+ instw_new(&instw);
|
||||
+ instw_setpath(&instw,pathname);
|
||||
+ instw_getstatus(&instw,&status);
|
||||
+
|
||||
+ #if DEBUG
|
||||
+ instw_print(&instw);
|
||||
+ #endif
|
||||
+
|
||||
+ if(status&INSTW_TRANSLATED) {
|
||||
+ result=true_getxattr(instw.translpath,name,value,size);
|
||||
+ } else {
|
||||
+ result=true_getxattr(instw.path,name,value,size);
|
||||
+ }
|
||||
+
|
||||
+ instw_delete(&instw);
|
||||
+
|
||||
+ return result;
|
||||
+ }
|
||||
+
|
||||
+ int lgetxattr (const char *pathname, const char *name,
|
||||
+ const void *value, size_t size)
|
||||
+ {
|
||||
+ int result;
|
||||
+ instw_t instw;
|
||||
+ int status;
|
||||
+
|
||||
+ REFCOUNT;
|
||||
+
|
||||
+ if (!libc_handle)
|
||||
+ initialize();
|
||||
+
|
||||
+ #if DEBUG
|
||||
+ debug(2,"lgetxattr(%s,%s)\n",pathname,name);
|
||||
+ #endif
|
||||
+
|
||||
+ /* We were asked to work in "real" mode */
|
||||
+ if( !(__instw.gstatus & INSTW_INITIALIZED) ||
|
||||
+ !(__instw.gstatus & INSTW_OKWRAP) ) {
|
||||
+ result=true_lgetxattr(pathname,name,value,size);
|
||||
+ return result;
|
||||
+ }
|
||||
+
|
||||
+ instw_new(&instw);
|
||||
+ instw_setpath(&instw,pathname);
|
||||
+ instw_getstatus(&instw,&status);
|
||||
+
|
||||
+ #if DEBUG
|
||||
+ instw_print(&instw);
|
||||
+ #endif
|
||||
+
|
||||
+ if(status&INSTW_TRANSLATED) {
|
||||
+ result=true_lgetxattr(instw.translpath,name,value,size);
|
||||
+ } else {
|
||||
+ result=true_lgetxattr(instw.path,name,value,size);
|
||||
+ }
|
||||
+
|
||||
+ instw_delete(&instw);
|
||||
+
|
||||
+ return result;
|
||||
+ }
|
||||
+
|
||||
#if(GLIBC_MINOR >= 1)
|
||||
|
||||
int creat64(const char *pathname, __mode_t mode) {
|
||||
***************
|
||||
*** 3663,3668 ****
|
||||
--- 3751,3791 ----
|
||||
return result;
|
||||
}
|
||||
|
||||
+ int __open_2(const char *pathname, int flags, ...) {
|
||||
+ va_list ap;
|
||||
+ mode_t mode;
|
||||
+
|
||||
+ #if DEBUG
|
||||
+ debug(2,"__open_2(%s,%d,mode)\n",pathname,flags);
|
||||
+ #endif
|
||||
+
|
||||
+ va_start(ap, flags);
|
||||
+ mode = va_arg(ap, mode_t);
|
||||
+ va_end(ap);
|
||||
+
|
||||
+ /* The open() function in Glibc 2.9 is an always-inline
|
||||
+ function that may call __open_2(), so it's important that
|
||||
+ we handle it. I don't know what __open_2() is supposed to
|
||||
+ do, but redirecting it to open() seems to work fine. */
|
||||
+
|
||||
+ return open(pathname,flags,mode);
|
||||
+ }
|
||||
+
|
||||
+ int __open64_2(const char *pathname, int flags, ...) {
|
||||
+ va_list ap;
|
||||
+ mode_t mode;
|
||||
+
|
||||
+ #if DEBUG
|
||||
+ debug(2,"__open64_2(%s,%d,mode)\n",pathname,flags);
|
||||
+ #endif
|
||||
+
|
||||
+ va_start(ap, flags);
|
||||
+ mode = va_arg(ap, mode_t);
|
||||
+ va_end(ap);
|
||||
+
|
||||
+ return open64(pathname,flags,mode);
|
||||
+ }
|
||||
+
|
||||
struct dirent64 *readdir64(DIR *dir) {
|
||||
struct dirent64 *result;
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
Extracted from Arch's patch
|
||||
https://projects.archlinux.org/svntogit/community.git/tree/trunk/build-fix.patch?h=packages/checkinstall
|
||||
diff -wbBur checkinstall-1.6.2/installwatch/installwatch.c checkinstall-1.6.2.my/installwatch/installwatch.c
|
||||
--- checkinstall-1.6.2/installwatch/installwatch.c 2008-11-16 19:20:53.000000000 +0300
|
||||
+++ checkinstall-1.6.2.my/installwatch/installwatch.c 2010-01-15 18:55:50.112716628 +0300
|
||||
@@ -2938,13 +2938,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
-#if (GLIBC_MINOR <= 4)
|
||||
-int readlink(const char *path,char *buf,size_t bufsiz) {
|
||||
- int result;
|
||||
-#else
|
||||
ssize_t readlink(const char *path,char *buf,size_t bufsiz) {
|
||||
ssize_t result;
|
||||
-#endif
|
||||
instw_t instw;
|
||||
int status;
|
||||
|
||||
75
pkgs/tools/package-management/checkinstall/scandir.patch
Normal file
75
pkgs/tools/package-management/checkinstall/scandir.patch
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
diff -rc -x '*~' checkinstall-1.6.2-orig/installwatch/installwatch.c checkinstall-1.6.2/installwatch/installwatch.c
|
||||
*** checkinstall-1.6.2-orig/installwatch/installwatch.c 2008-11-16 17:20:53.000000000 +0100
|
||||
--- checkinstall-1.6.2/installwatch/installwatch.c 2010-02-08 16:35:17.000000000 +0100
|
||||
***************
|
||||
*** 100,106 ****
|
||||
static int (*true_lxstat)(int,const char *,struct stat *);
|
||||
static int (*true_scandir)( const char *,struct dirent ***,
|
||||
int (*)(const struct dirent *),
|
||||
! int (*)(const void *,const void *));
|
||||
static int (*true_symlink)(const char *, const char *);
|
||||
static int (*true_truncate)(const char *, TRUNCATE_T);
|
||||
static int (*true_unlink)(const char *);
|
||||
--- 100,106 ----
|
||||
static int (*true_lxstat)(int,const char *,struct stat *);
|
||||
static int (*true_scandir)( const char *,struct dirent ***,
|
||||
int (*)(const struct dirent *),
|
||||
! int (*)(const struct dirent **,const struct dirent **));
|
||||
static int (*true_symlink)(const char *, const char *);
|
||||
static int (*true_truncate)(const char *, TRUNCATE_T);
|
||||
static int (*true_unlink)(const char *);
|
||||
***************
|
||||
*** 120,126 ****
|
||||
static struct dirent64 *(*true_readdir64)(DIR *dir);
|
||||
static int (*true_scandir64)( const char *,struct dirent64 ***,
|
||||
int (*)(const struct dirent64 *),
|
||||
! int (*)(const void *,const void *));
|
||||
static int (*true_xstat64)(int,const char *, struct stat64 *);
|
||||
static int (*true_lxstat64)(int,const char *, struct stat64 *);
|
||||
static int (*true_truncate64)(const char *, __off64_t);
|
||||
--- 120,126 ----
|
||||
static struct dirent64 *(*true_readdir64)(DIR *dir);
|
||||
static int (*true_scandir64)( const char *,struct dirent64 ***,
|
||||
int (*)(const struct dirent64 *),
|
||||
! int (*)(const struct dirent64 **,const struct dirent64 **));
|
||||
static int (*true_xstat64)(int,const char *, struct stat64 *);
|
||||
static int (*true_lxstat64)(int,const char *, struct stat64 *);
|
||||
static int (*true_truncate64)(const char *, __off64_t);
|
||||
***************
|
||||
*** 3077,3085 ****
|
||||
return result;
|
||||
}
|
||||
|
||||
! int scandir( const char *dir,struct dirent ***namelist,
|
||||
int (*select)(const struct dirent *),
|
||||
! int (*compar)(const void *,const void *) ) {
|
||||
int result;
|
||||
|
||||
if (!libc_handle)
|
||||
--- 3077,3085 ----
|
||||
return result;
|
||||
}
|
||||
|
||||
! int scandir( const char * dir,struct dirent ***namelist,
|
||||
int (*select)(const struct dirent *),
|
||||
! int (*compar)(const struct dirent **,const struct dirent **) ) {
|
||||
int result;
|
||||
|
||||
if (!libc_handle)
|
||||
***************
|
||||
*** 3691,3697 ****
|
||||
|
||||
int scandir64( const char *dir,struct dirent64 ***namelist,
|
||||
int (*select)(const struct dirent64 *),
|
||||
! int (*compar)(const void *,const void *) ) {
|
||||
int result;
|
||||
|
||||
if (!libc_handle)
|
||||
--- 3691,3697 ----
|
||||
|
||||
int scandir64( const char *dir,struct dirent64 ***namelist,
|
||||
int (*select)(const struct dirent64 *),
|
||||
! int (*compar)(const struct dirent64 **,const struct dirent64 **) ) {
|
||||
int result;
|
||||
|
||||
if (!libc_handle)
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
https://build.opensuse.org/package/view_file/openSUSE:13.1/checkinstall/checkinstall-set_buildroot.patch
|
||||
|
||||
Index: checkinstall
|
||||
===================================================================
|
||||
--- a/checkinstall 2009-12-26 20:17:24.000000000 +0100
|
||||
+++ b/checkinstall 2011-01-31 18:17:56.171593541 +0100
|
||||
@@ -2463,7 +2463,7 @@ cd "$DIRECTORIO_FUENTE"
|
||||
|
||||
echo
|
||||
echogn "Building RPM package..."
|
||||
-$RPMBUILD -bb ${RPM_TARGET_FLAG}${ARCHITECTURE} "$SPEC_PATH" &> ${TMP_DIR}/rpmbuild.log
|
||||
+$RPMBUILD --buildroot ${BUILDROOT} -bb ${RPM_TARGET_FLAG}${ARCHITECTURE} "$SPEC_PATH" &> ${TMP_DIR}/rpmbuild.log
|
||||
okfail
|
||||
|
||||
if [ $? -gt 0 ]; then
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
diff -ru -x '*~' checkinstall-1.6.2-orig/installwatch/installwatch.c checkinstall-1.6.2/installwatch/installwatch.c
|
||||
--- checkinstall-1.6.2-orig/installwatch/installwatch.c 2008-11-16 17:20:53.000000000 +0100
|
||||
+++ checkinstall-1.6.2/installwatch/installwatch.c 2013-03-15 13:50:12.717646381 +0100
|
||||
@@ -28,6 +28,8 @@
|
||||
* <mail@fredemmott.co.uk>
|
||||
*/
|
||||
|
||||
+asm (".symver memcpy, memcpy@GLIBC_2.2.5");
|
||||
+
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
25
pkgs/tools/package-management/clib/default.nix
Normal file
25
pkgs/tools/package-management/clib/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchFromGitHub, curl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.8.1";
|
||||
pname = "clib";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = version;
|
||||
owner = "clibs";
|
||||
repo = "clib";
|
||||
sha256 = "sha256-AzPpGwtZemKX2r/XKyNTJ+lVwU1QUxkB2OywtCwTAWs=";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
buildInputs = [ curl ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "C micro-package manager";
|
||||
homepage = "https://github.com/clibs/clib";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jb55 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
44
pkgs/tools/package-management/comma/default.nix
Normal file
44
pkgs/tools/package-management/comma/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ comma
|
||||
, fetchFromGitHub
|
||||
, fzy
|
||||
, lib
|
||||
, makeWrapper
|
||||
, nix
|
||||
, nix-index
|
||||
, rustPlatform
|
||||
, testers
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "comma";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "comma";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-emhvBaicLAnu/Kn4oxHngGa5BSxOEwbkhTLO5XvauMw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-mQxNo4VjW2Q0MYfU+RCb4Ayl9ClpxrSV8X4EKZ7PewA=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/comma \
|
||||
--prefix PATH : ${lib.makeBinPath [ nix fzy nix-index ]}
|
||||
ln -s $out/bin/comma $out/bin/,
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion { package = comma; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/nix-community/comma";
|
||||
description = "Runs programs without installing them";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Enzime artturin ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
92
pkgs/tools/package-management/conda/default.nix
Normal file
92
pkgs/tools/package-management/conda/default.nix
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, runCommand
|
||||
, makeWrapper
|
||||
, buildFHSUserEnv
|
||||
, libselinux
|
||||
, libarchive
|
||||
, libGL
|
||||
, xorg
|
||||
, zlib
|
||||
# Conda installs its packages and environments under this directory
|
||||
, installationPath ? "~/.conda"
|
||||
# Conda manages most pkgs itself, but expects a few to be on the system.
|
||||
, condaDeps ? [ stdenv.cc xorg.libSM xorg.libICE xorg.libX11 xorg.libXau xorg.libXi xorg.libXrender libselinux libGL zlib]
|
||||
# Any extra nixpkgs you'd like available in the FHS env for Conda to use
|
||||
, extraPkgs ? [ ]
|
||||
}:
|
||||
|
||||
# How to use this package?
|
||||
#
|
||||
# First-time setup: this nixpkg downloads the conda installer and provides a FHS
|
||||
# env in which it can run. On first use, the user will need to install conda to
|
||||
# the installPath using the installer:
|
||||
# $ nix-env -iA conda
|
||||
# $ conda-shell
|
||||
# $ conda-install
|
||||
#
|
||||
# Under normal usage, simply call `conda-shell` to activate the FHS env,
|
||||
# and then use conda commands as normal:
|
||||
# $ conda-shell
|
||||
# $ conda install spyder
|
||||
let
|
||||
version = "4.11.0";
|
||||
src = fetchurl {
|
||||
url = "https://repo.continuum.io/miniconda/Miniconda3-py39_${version}-Linux-x86_64.sh";
|
||||
sha256 = "sha256-TunDqlMynNemO0mHfAurtJsZt+WvKYB7eTp2vbHTYrQ=";
|
||||
};
|
||||
conda = (
|
||||
let
|
||||
libPath = lib.makeLibraryPath [
|
||||
zlib # libz.so.1
|
||||
];
|
||||
in
|
||||
runCommand "conda-install" { buildInputs = [ makeWrapper zlib]; }
|
||||
# on line 10, we have 'unset LD_LIBRARY_PATH'
|
||||
# we have to comment it out however in a way that the number of bytes in the
|
||||
# file does not change. So we replace the 'u' in the line with a '#'
|
||||
# The reason is that the binary payload is encoded as number
|
||||
# of bytes from the top of the installer script
|
||||
# and unsetting the library path prevents the zlib library from being discovered
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
|
||||
sed 's/unset LD_LIBRARY_PATH/#nset LD_LIBRARY_PATH/' ${src} > $out/bin/miniconda-installer.sh
|
||||
chmod +x $out/bin/miniconda-installer.sh
|
||||
|
||||
makeWrapper \
|
||||
$out/bin/miniconda-installer.sh \
|
||||
$out/bin/conda-install \
|
||||
--add-flags "-p ${installationPath}" \
|
||||
--add-flags "-b" \
|
||||
--prefix "LD_LIBRARY_PATH" : "${libPath}"
|
||||
'');
|
||||
in
|
||||
buildFHSUserEnv {
|
||||
name = "conda-shell";
|
||||
targetPkgs = pkgs: (builtins.concatLists [ [ conda ] condaDeps extraPkgs]);
|
||||
profile = ''
|
||||
# Add conda to PATH
|
||||
export PATH=${installationPath}/bin:$PATH
|
||||
# Paths for gcc if compiling some C sources with pip
|
||||
export NIX_CFLAGS_COMPILE="-I${installationPath}/include"
|
||||
export NIX_CFLAGS_LINK="-L${installationPath}lib"
|
||||
# Some other required environment variables
|
||||
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
||||
export QTCOMPOSE=${xorg.libX11}/share/X11/locale
|
||||
export LIBARCHIVE=${libarchive.lib}/lib/libarchive.so
|
||||
# Allows `conda activate` to work properly
|
||||
source ${installationPath}/etc/profile.d/conda.sh
|
||||
'';
|
||||
|
||||
runScript = "bash -l";
|
||||
|
||||
meta = {
|
||||
description = "Conda is a package manager for Python";
|
||||
homepage = "https://conda.io/";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ jluttine bhipple ];
|
||||
};
|
||||
}
|
||||
42
pkgs/tools/package-management/createrepo_c/default.nix
Normal file
42
pkgs/tools/package-management/createrepo_c/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, bzip2, expat, glib, curl, libxml2, python3, rpm
|
||||
, openssl, sqlite, file, xz, pcre, bash-completion, zstd, zchunk, libmodulemd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "createrepo_c";
|
||||
version = "0.17.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rpm-software-management";
|
||||
repo = "createrepo_c";
|
||||
rev = version;
|
||||
sha256 = "sha256-rcrJjcWj+cTAE3k11Ynr7CQCOWD+rb60lcar0G2w06A=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Use the output directory to install the bash completions.
|
||||
./fix-bash-completion-path.patch
|
||||
# Use the output directory to install the python modules.
|
||||
./fix-python-install-path.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace '@BASHCOMP_DIR@' "$out/share/bash-completion/completions"
|
||||
substituteInPlace src/python/CMakeLists.txt \
|
||||
--replace "@PYTHON_INSTALL_DIR@" "$out/${python3.sitePackages}"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config rpm ];
|
||||
|
||||
buildInputs = [ bzip2 expat glib curl libxml2 python3 openssl sqlite file xz pcre bash-completion zstd zchunk libmodulemd ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "C implementation of createrepo";
|
||||
homepage = "https://rpm-software-management.github.io/createrepo_c/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ copumpkin ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -117,7 +117,7 @@ OPTION(ENABLE_BASHCOMP "Install Bash autocompletions?" ON)
|
||||
IF (ENABLE_BASHCOMP)
|
||||
pkg_check_modules(BASHCOMP bash-completion)
|
||||
IF (BASHCOMP_FOUND)
|
||||
- execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=completionsdir bash-completion OUTPUT_VARIABLE BASHCOMP_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
+ SET(BASHCOMP_DIR "@BASHCOMP_DIR@")
|
||||
message("Bash completion directory: ${BASHCOMP_DIR}")
|
||||
INSTALL(FILES createrepo_c.bash DESTINATION ${BASHCOMP_DIR} RENAME createrepo_c)
|
||||
INSTALL(CODE "
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- a/src/python/CMakeLists.txt
|
||||
+++ b/src/python/CMakeLists.txt
|
||||
@@ -14,7 +14,7 @@ if (NOT SKBUILD)
|
||||
FIND_PACKAGE(PythonLibs 3 REQUIRED)
|
||||
endif (NOT SKBUILD)
|
||||
|
||||
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
|
||||
+SET(PYTHON_INSTALL_DIR "@PYTHON_INSTALL_DIR@")
|
||||
INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
|
||||
|
||||
MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
{lib, stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "DisnixWebService";
|
||||
version = "0.10.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-${version}/DisnixWebService-${version}.tar.gz";
|
||||
sha256 = "02jxbgn9a0c9cr6knzp78bp9wiywzczy89wav7yxhg79vff8a1gr";
|
||||
};
|
||||
buildInputs = [ apacheAnt jdk ];
|
||||
PREFIX = "\${env.out}";
|
||||
AXIS2_LIB = "${axis2}/lib";
|
||||
AXIS2_WEBAPP = "${axis2}/webapps/axis2";
|
||||
DBUS_JAVA_LIB = "${dbus_java}/share/java";
|
||||
prePatch = ''
|
||||
sed -i -e "s|#JAVA_HOME=|JAVA_HOME=${jdk}|" \
|
||||
-e "s|#AXIS2_LIB=|AXIS2_LIB=${axis2}/lib|" \
|
||||
scripts/disnix-soap-client
|
||||
'';
|
||||
buildPhase = "ant";
|
||||
installPhase = "ant install";
|
||||
|
||||
meta = {
|
||||
description = "A SOAP interface and client for Disnix";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
21
pkgs/tools/package-management/disnix/default.nix
Normal file
21
pkgs/tools/package-management/disnix/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, glib, libxml2, libxslt, getopt, gettext, dysnomia, libintl, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "disnix";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/disnix/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0mc0wy8fca60w0d56cljq2cw1xigbp2dklb43fxa5xph94j3i49a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib libxml2 libxslt getopt libintl libiconv dysnomia ];
|
||||
|
||||
meta = {
|
||||
description = "A Nix-based distributed service deployment tool";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ sander tomberek ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
21
pkgs/tools/package-management/disnix/disnixos/default.nix
Normal file
21
pkgs/tools/package-management/disnix/disnixos/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, stdenv, fetchurl, dysnomia, disnix, socat, pkg-config, getopt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "disnixos";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/disnixos/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0nm7g184xh6xzjz4a40a7kgfnpmq043x6v0cynpffa6wd9jv89s9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ socat dysnomia disnix getopt ];
|
||||
|
||||
meta = {
|
||||
description = "Provides complementary NixOS infrastructure deployment to Disnix";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
32
pkgs/tools/package-management/disnix/dydisnix/default.nix
Normal file
32
pkgs/tools/package-management/disnix/dydisnix/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib
|
||||
, libxml2, libxslt, getopt, libiconv, gettext, nix, disnix
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "unstable-2020-11-02";
|
||||
pname = "dydisnix";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svanderburg";
|
||||
repo = "dydisnix";
|
||||
rev = "12ca1516bc1e5d161ac68f5d8252a0a2f353c8cf";
|
||||
sha256 = "00f341274hwwil8mlgcgq331vfca9sscvpdbgkxsjvbhcqd8qa52";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake libtool ];
|
||||
buildInputs = [ glib libxml2 libxslt getopt nix disnix libiconv gettext ];
|
||||
|
||||
preConfigure = ''
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A toolset enabling self-adaptive redeployment on top of Disnix";
|
||||
longDescription = ''
|
||||
Dynamic Disnix is a (very experimental!) prototype extension framework for Disnix supporting dynamic (re)deployment of service-oriented systems.
|
||||
'';
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.tomberek ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
88
pkgs/tools/package-management/disnix/dysnomia/default.nix
Normal file
88
pkgs/tools/package-management/disnix/dysnomia/default.nix
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
{ lib, stdenv, fetchurl, netcat
|
||||
|
||||
# Optional packages
|
||||
, systemd ? null, ejabberd ? null, mariadb ? null, postgresql ? null, subversion ? null
|
||||
, mongodb ? null, mongodb-tools ? null, influxdb ? null, supervisor ? null, docker ? null
|
||||
, nginx ? null, s6-rc ? null, xinetd ? null
|
||||
|
||||
# Configuration flags
|
||||
, enableApacheWebApplication ? false
|
||||
, enableAxis2WebService ? false
|
||||
, enableEjabberdDump ? false
|
||||
, enableMySQLDatabase ? false
|
||||
, enablePostgreSQLDatabase ? false
|
||||
, enableSubversionRepository ? false
|
||||
, enableTomcatWebApplication ? false
|
||||
, enableMongoDatabase ? false
|
||||
, enableInfluxDatabase ? false
|
||||
, enableSupervisordProgram ? false
|
||||
, enableDockerContainer ? false
|
||||
, enableNginxWebApplication ? false
|
||||
, enableXinetdService ? false
|
||||
, enableS6RCService ? false
|
||||
, enableLegacy ? false
|
||||
, catalinaBaseDir ? "/var/tomcat"
|
||||
, jobTemplate ? "systemd"
|
||||
, getopt
|
||||
}:
|
||||
|
||||
assert enableMySQLDatabase -> mariadb != null;
|
||||
assert enablePostgreSQLDatabase -> postgresql != null;
|
||||
assert enableSubversionRepository -> subversion != null;
|
||||
assert enableEjabberdDump -> ejabberd != null;
|
||||
assert enableMongoDatabase -> (mongodb != null && mongodb-tools != null);
|
||||
assert enableInfluxDatabase -> influxdb != null;
|
||||
assert enableSupervisordProgram -> supervisor != null;
|
||||
assert enableDockerContainer -> docker != null;
|
||||
assert enableNginxWebApplication -> nginx != null;
|
||||
assert enableS6RCService -> s6-rc != null;
|
||||
assert enableXinetdService -> xinetd != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dysnomia";
|
||||
version = "0.10.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/svanderburg/dysnomia/releases/download/dysnomia-${version}/dysnomia-${version}.tar.gz";
|
||||
sha256 = "0w9601g8zpaxrmynx6mh8zz85ldpb8psp7cc6ls8v3srjpj1l5n3";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
(if enableApacheWebApplication then "--with-apache" else "--without-apache")
|
||||
(if enableAxis2WebService then "--with-axis2" else "--without-axis2")
|
||||
(if enableEjabberdDump then "--with-ejabberd" else "--without-ejabberd")
|
||||
(if enableMySQLDatabase then "--with-mysql" else "--without-mysql")
|
||||
(if enablePostgreSQLDatabase then "--with-postgresql" else "--without-postgresql")
|
||||
(if enableSubversionRepository then "--with-subversion" else "--without-subversion")
|
||||
(if enableTomcatWebApplication then "--with-tomcat=${catalinaBaseDir}" else "--without-tomcat")
|
||||
(if enableMongoDatabase then "--with-mongodb" else "--without-mongodb")
|
||||
(if enableInfluxDatabase then "--with-influxdb" else "--without-influxdb")
|
||||
(if enableSupervisordProgram then "--with-supervisord" else "--without-supervisord")
|
||||
(if enableDockerContainer then "--with-docker" else "--without-docker")
|
||||
(if enableNginxWebApplication then "--with-nginx" else "--without-nginx")
|
||||
(if enableXinetdService then "--with-xinetd" else "--without-xinetd")
|
||||
(if enableS6RCService then "--with-s6-rc" else "--without-s6-rc")
|
||||
(if stdenv.isDarwin then "--with-launchd" else "--without-launchd")
|
||||
"--with-job-template=${jobTemplate}"
|
||||
] ++ lib.optional enableLegacy "--enable-legacy";
|
||||
|
||||
buildInputs = [ getopt netcat ]
|
||||
++ lib.optional stdenv.isLinux systemd
|
||||
++ lib.optional enableEjabberdDump ejabberd
|
||||
++ lib.optional enableMySQLDatabase mariadb.out
|
||||
++ lib.optional enablePostgreSQLDatabase postgresql
|
||||
++ lib.optional enableSubversionRepository subversion
|
||||
++ lib.optionals enableMongoDatabase [ mongodb mongodb-tools ]
|
||||
++ lib.optional enableInfluxDatabase influxdb
|
||||
++ lib.optional enableSupervisordProgram supervisor
|
||||
++ lib.optional enableDockerContainer docker
|
||||
++ lib.optional enableNginxWebApplication nginx
|
||||
++ lib.optional enableS6RCService s6-rc
|
||||
++ lib.optional enableXinetdService xinetd;
|
||||
|
||||
meta = {
|
||||
description = "Automated deployment of mutable components and services for Disnix";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
79
pkgs/tools/package-management/dpkg/default.nix
Normal file
79
pkgs/tools/package-management/dpkg/default.nix
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
{ lib, stdenv, fetchurl, perl, zlib, bzip2, xz, zstd
|
||||
, makeWrapper, coreutils, autoreconfHook, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dpkg";
|
||||
version = "1.20.9ubuntu2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://ubuntu/pool/main/d/dpkg/dpkg_${version}.tar.xz";
|
||||
sha256 = "sha256-BuCofGpi9R0cyhvkZqu9IxupqZvZhbE2J/B4wgUqMQw=";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--disable-dselect"
|
||||
"--with-admindir=/var/lib/dpkg"
|
||||
"PERL_LIBDIR=$(out)/${perl.libPrefix}"
|
||||
(lib.optionalString stdenv.isDarwin "--disable-linker-optimisations")
|
||||
(lib.optionalString stdenv.isDarwin "--disable-start-stop-daemon")
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preConfigure = ''
|
||||
# Nice: dpkg has a circular dependency on itself. Its configure
|
||||
# script calls scripts/dpkg-architecture, which calls "dpkg" in
|
||||
# $PATH. It doesn't actually use its result, but fails if it
|
||||
# isn't present, so make a dummy available.
|
||||
touch $TMPDIR/dpkg
|
||||
chmod +x $TMPDIR/dpkg
|
||||
PATH=$TMPDIR:$PATH
|
||||
|
||||
for i in $(find . -name Makefile.in); do
|
||||
substituteInPlace $i --replace "install-data-local:" "disabled:" ;
|
||||
done
|
||||
'';
|
||||
|
||||
patchPhase = ''
|
||||
patchShebangs .
|
||||
|
||||
# Dpkg commands sometimes calls out to shell commands
|
||||
substituteInPlace lib/dpkg/dpkg.h \
|
||||
--replace '"dpkg-deb"' \"$out/bin/dpkg-deb\" \
|
||||
--replace '"dpkg-split"' \"$out/bin/dpkg-split\" \
|
||||
--replace '"dpkg-query"' \"$out/bin/dpkg-query\" \
|
||||
--replace '"dpkg-divert"' \"$out/bin/dpkg-divert\" \
|
||||
--replace '"dpkg-statoverride"' \"$out/bin/dpkg-statoverride\" \
|
||||
--replace '"dpkg-trigger"' \"$out/bin/dpkg-trigger\" \
|
||||
--replace '"dpkg"' \"$out/bin/dpkg\" \
|
||||
--replace '"debsig-verify"' \"$out/bin/debsig-verify\" \
|
||||
--replace '"rm"' \"${coreutils}/bin/rm\" \
|
||||
--replace '"cat"' \"${coreutils}/bin/cat\" \
|
||||
--replace '"diff"' \"${coreutils}/bin/diff\"
|
||||
'';
|
||||
|
||||
buildInputs = [ perl zlib bzip2 xz zstd ];
|
||||
nativeBuildInputs = [ makeWrapper perl autoreconfHook pkg-config ];
|
||||
|
||||
postInstall =
|
||||
''
|
||||
for i in $out/bin/*; do
|
||||
if head -n 1 $i | grep -q perl; then
|
||||
substituteInPlace $i --replace \
|
||||
"${perl}/bin/perl" "${perl}/bin/perl -I $out/${perl.libPrefix}"
|
||||
fi
|
||||
done
|
||||
|
||||
mkdir -p $out/etc/dpkg
|
||||
cp -r scripts/t/origins $out/etc/dpkg
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Debian package manager";
|
||||
homepage = "https://wiki.debian.org/Teams/Dpkg";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ siriobalmelli ];
|
||||
};
|
||||
}
|
||||
2
pkgs/tools/package-management/elm-github-install/Gemfile
Normal file
2
pkgs/tools/package-management/elm-github-install/Gemfile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'elm_install'
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
adts (0.1.2)
|
||||
commander (4.4.3)
|
||||
highline (~> 1.7.2)
|
||||
contracts (0.16.0)
|
||||
elm_install (1.0.1)
|
||||
adts (~> 0.1.2)
|
||||
commander (~> 4.4, >= 4.4.2)
|
||||
contracts (~> 0.16.0)
|
||||
git (~> 1.3)
|
||||
git_clone_url (~> 2.0)
|
||||
hashdiff (~> 0.3.1)
|
||||
indentation (~> 0.1.1)
|
||||
smart_colored (~> 1.1, >= 1.1.1)
|
||||
solve (~> 3.1)
|
||||
git (1.3.0)
|
||||
git_clone_url (2.0.0)
|
||||
uri-ssh_git (>= 2.0)
|
||||
hashdiff (0.3.4)
|
||||
highline (1.7.8)
|
||||
indentation (0.1.1)
|
||||
molinillo (0.5.7)
|
||||
semverse (2.0.0)
|
||||
smart_colored (1.1.1)
|
||||
solve (3.1.0)
|
||||
molinillo (>= 0.5)
|
||||
semverse (>= 1.1, < 3.0)
|
||||
uri-ssh_git (2.0.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
elm_install
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
||||
21
pkgs/tools/package-management/elm-github-install/default.nix
Normal file
21
pkgs/tools/package-management/elm-github-install/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
|
||||
|
||||
bundlerEnv rec {
|
||||
pname = "elm_install";
|
||||
name = "elm-github-install-${version}";
|
||||
|
||||
version = (import ./gemset.nix).elm_install.version;
|
||||
|
||||
inherit ruby;
|
||||
gemdir = ./.;
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "elm-github-install";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Install Elm packages from git repositories";
|
||||
homepage = "https://github.com/gdotdesign/elm-github-install";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ roberth nicknovitski ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
114
pkgs/tools/package-management/elm-github-install/gemset.nix
Normal file
114
pkgs/tools/package-management/elm-github-install/gemset.nix
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
adts = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1793bfsgg8ca58b70xas9rglnspig41ih0iwqcad62s0grxzrjwz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.1.2";
|
||||
};
|
||||
commander = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "01qx76y05v29kgyjsfkai73gwfnqhypp1k8v024m9w7qzpv4mpxf";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.4.3";
|
||||
};
|
||||
contracts = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "119f5p1n6r5svbx8h09za6a4vrsnj5i1pzr9cqdn9hj3wrxvyl3a";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.16.0";
|
||||
};
|
||||
elm_install = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0d3fwhj54madabmzamss865kj8czicgaq5fbdll9kpapqvy6a2j5";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.1";
|
||||
};
|
||||
git = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1waikaggw7a1d24nw0sh8fd419gbf7awh000qhsf411valycj6q3";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.3.0";
|
||||
};
|
||||
git_clone_url = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0qgq7pjl461si3m2gr28vwbx47dcbpyy682mcwra5y1klpkbcvr5";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.0.0";
|
||||
};
|
||||
hashdiff = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1n6hj7k7b9hazac0j48ypbak2nqi5wy4nh5cjra6xl3a92r8db0a";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.3.4";
|
||||
};
|
||||
highline = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1nf5lgdn6ni2lpfdn4gk3gi47fmnca2bdirabbjbz1fk9w4p8lkr";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.7.8";
|
||||
};
|
||||
indentation = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0ix64qgmm91xm1yiqxdcn9bqb1l6gwvkv7322yni34b3bd16lgvc";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.1.1";
|
||||
};
|
||||
molinillo = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "19h1nks0x2ljwyijs2rd1f9sh05j8xqvjaqk1rslp5nyy6h4a758";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.5.7";
|
||||
};
|
||||
semverse = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1cf6iv5wgwb7b8jf7il751223k9yahz9aym06s9r0prda5mwddyy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.0.0";
|
||||
};
|
||||
smart_colored = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0hccah5iwsvn9rf7zdgl7mdbh0h63vfwy1c6d280cb9qkfj8rdny";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.1";
|
||||
};
|
||||
solve = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0bbzny2bl94mv1xwcfrxbi3fjhxxawlz6la7mip2wwz9kkaf376h";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.1.0";
|
||||
};
|
||||
uri-ssh_git = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0klyyvivbjll2ry18d8fhm1rbxbzd4kqa9lskxyiha4ndlb22cqj";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.0.0";
|
||||
};
|
||||
}
|
||||
22
pkgs/tools/package-management/emplace/default.nix
Normal file
22
pkgs/tools/package-management/emplace/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "emplace";
|
||||
version = "1.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tversteeg";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5PuSIOXns0FVLgyIw1mk8hZ/tYhikMV860BHTDlji78=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-UbbVjT5JQuVSCgbcelEVaAql4CUnCtO99zHp3Ei31Gs=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mirror installed software on multiple machines";
|
||||
homepage = "https://github.com/tversteeg/emplace";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ Br1ght0ne ];
|
||||
};
|
||||
}
|
||||
3
pkgs/tools/package-management/fpm/Gemfile
Normal file
3
pkgs/tools/package-management/fpm/Gemfile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'fpm'
|
||||
43
pkgs/tools/package-management/fpm/Gemfile.lock
Normal file
43
pkgs/tools/package-management/fpm/Gemfile.lock
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
arr-pm (0.0.11)
|
||||
cabin (> 0)
|
||||
backports (3.21.0)
|
||||
cabin (0.9.0)
|
||||
clamp (1.0.1)
|
||||
dotenv (2.7.6)
|
||||
fpm (1.13.0)
|
||||
arr-pm (~> 0.0.11)
|
||||
backports (>= 2.6.2)
|
||||
cabin (>= 0.6.0)
|
||||
clamp (~> 1.0.0)
|
||||
git (>= 1.3.0, < 2.0)
|
||||
json (>= 1.7.7, < 3.0)
|
||||
pleaserun (~> 0.0.29)
|
||||
rexml
|
||||
stud
|
||||
git (1.8.1)
|
||||
rchardet (~> 1.8)
|
||||
insist (1.0.0)
|
||||
json (2.5.1)
|
||||
mustache (0.99.8)
|
||||
pleaserun (0.0.32)
|
||||
cabin (> 0)
|
||||
clamp
|
||||
dotenv
|
||||
insist
|
||||
mustache (= 0.99.8)
|
||||
stud
|
||||
rchardet (1.8.0)
|
||||
rexml (3.2.5)
|
||||
stud (0.0.23)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
fpm
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
||||
17
pkgs/tools/package-management/fpm/default.nix
Normal file
17
pkgs/tools/package-management/fpm/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, bundlerApp, bundlerUpdateScript }:
|
||||
|
||||
bundlerApp {
|
||||
pname = "fpm";
|
||||
gemdir = ./.;
|
||||
exes = [ "fpm" ];
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "fpm";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to build packages for multiple platforms with ease";
|
||||
homepage = "https://github.com/jordansissel/fpm";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ manveru nicknovitski ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
146
pkgs/tools/package-management/fpm/gemset.nix
Normal file
146
pkgs/tools/package-management/fpm/gemset.nix
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
{
|
||||
arr-pm = {
|
||||
dependencies = ["cabin"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "17qssricshzs2ml1jvn4bs2h85gxvrqm074pl5nl8vr74620iazi";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.11";
|
||||
};
|
||||
backports = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0xqvwj3mm28g1z4npya51zjcvxaniyyzn3fwgcdwmm8xrdbl8fgr";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.21.0";
|
||||
};
|
||||
cabin = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0b3b8j3iqnagjfn1261b9ncaac9g44zrx1kcg81yg4z9i513kici";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.9.0";
|
||||
};
|
||||
clamp = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0jb6l4scp69xifhicb5sffdixqkw8wgkk9k2q57kh2y36x1px9az";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.1";
|
||||
};
|
||||
dotenv = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0iym172c5337sm1x2ykc2i3f961vj3wdclbyg1x6sxs3irgfsl94";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.7.6";
|
||||
};
|
||||
fpm = {
|
||||
dependencies = ["arr-pm" "backports" "cabin" "clamp" "git" "json" "pleaserun" "rexml" "stud"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "03ss7yh628f0m6by23q3sniq660gm07mkz6wqjpvr118gc0h53sa";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.13.0";
|
||||
};
|
||||
git = {
|
||||
dependencies = ["rchardet"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0vdcv93s33d9914a9nxrn2y2qv15xk7jx94007cmalp159l08cnl";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.8.1";
|
||||
};
|
||||
insist = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0bw3bdwns14mapbgb8cbjmr0amvwz8y72gyclq04xp43wpp5jrvg";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.0";
|
||||
};
|
||||
json = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0lrirj0gw420kw71bjjlqkqhqbrplla61gbv1jzgsz6bv90qr3ci";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.5.1";
|
||||
};
|
||||
mustache = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1g5hplm0k06vwxwqzwn1mq5bd02yp0h3rym4zwzw26aqi7drcsl2";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.99.8";
|
||||
};
|
||||
pleaserun = {
|
||||
dependencies = ["cabin" "clamp" "dotenv" "insist" "mustache" "stud"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1aykf0l8327bqkkf5xd9jcglsib973zpy37cfnlf4j0vp0cdpn2d";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.32";
|
||||
};
|
||||
rchardet = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1isj1b3ywgg2m1vdlnr41lpvpm3dbyarf1lla4dfibfmad9csfk9";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.8.0";
|
||||
};
|
||||
rexml = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.2.5";
|
||||
};
|
||||
stud = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0qpb57cbpm9rwgsygqxifca0zma87drnlacv49cqs2n5iyi6z8kb";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.23";
|
||||
};
|
||||
}
|
||||
24
pkgs/tools/package-management/gx/default.nix
Normal file
24
pkgs/tools/package-management/gx/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gx";
|
||||
version = "0.14.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "whyrusleeping";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-jGtUsb2gm8dN45wniD+PYoUlk8m1ssrfj1a7PPYEYuo=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-6tdVpMztaBjoQRVG2vaUWuvnPq05zjbNAX9HBiC50t0=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A packaging tool built around IPFS";
|
||||
homepage = "https://github.com/whyrusleeping/gx";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
||||
25
pkgs/tools/package-management/gx/go/default.nix
Normal file
25
pkgs/tools/package-management/gx/go/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# This file was generated by go2nix.
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "gx-go";
|
||||
version = "1.9.0";
|
||||
|
||||
goPackagePath = "github.com/whyrusleeping/gx-go";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "whyrusleeping";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0fdy4b3ymqw6hzvvjwq37mfrdmizc8lxm53axw93n3x6118na9jc";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool for importing go packages into gx";
|
||||
homepage = "https://github.com/whyrusleeping/gx-go";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
||||
246
pkgs/tools/package-management/gx/go/deps.nix
generated
Normal file
246
pkgs/tools/package-management/gx/go/deps.nix
generated
Normal file
|
|
@ -0,0 +1,246 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/btcsuite/btcd";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/btcsuite/btcd";
|
||||
rev = "67e573d211ace594f1366b4ce9d39726c4b19bd0";
|
||||
sha256 = "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/gogo/protobuf";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gogo/protobuf";
|
||||
rev = "07eab6a8298cf32fac45cceaac59424f98421bbc";
|
||||
sha256 = "1l2v9yq74qsiq3q7kii091rzx67jx6isz5szs27hyhsdwvy0y2p7";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/gxed/hashland";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gxed/hashland";
|
||||
rev = "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8";
|
||||
sha256 = "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/ipfs/go-ipfs-api";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ipfs/go-ipfs-api";
|
||||
rev = "b4fd7838d9771414868cb78fa8c4f97e47cad013";
|
||||
sha256 = "1kb0ja6bji9q1ly66hx3490mjmk3w56zpwl9c0pkfy6da9x4dkyr";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/ipfs/go-ipfs-files";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ipfs/go-ipfs-files";
|
||||
rev = "90d206a6f3947f904673ebffd376a2dcbbd84942";
|
||||
sha256 = "0bq6lciqba362lqmszjf1x33qwdpfrfik6r680iqr5c4sybywzqv";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/kr/fs";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/kr/fs";
|
||||
rev = "1455def202f6e05b95cc7bfc7e8ae67ae5141eba";
|
||||
sha256 = "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/libp2p/go-flow-metrics";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/libp2p/go-flow-metrics";
|
||||
rev = "7e5a55af485341567f98d6847a373eb5ddcdcd43";
|
||||
sha256 = "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/libp2p/go-libp2p-crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/libp2p/go-libp2p-crypto";
|
||||
rev = "3120e9f9526fe05f2d3905961a5e0701b85579d9";
|
||||
sha256 = "05i8jcfmk51zln634x782jvjmmn5l11104ylzqfnjxgjibz9pyd7";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/libp2p/go-libp2p-metrics";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/libp2p/go-libp2p-metrics";
|
||||
rev = "2d5733beaa2a9fdd05ef696d7a734aa61549fb2a";
|
||||
sha256 = "1g59z1mn483npmzgdyxn5w7w1k94phi5lgqkw3lq8i1b2jdy5mci";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/libp2p/go-libp2p-peer";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/libp2p/go-libp2p-peer";
|
||||
rev = "d3df4bca884d7a9c2d350c8120240db3c2b0f2ee";
|
||||
sha256 = "0hn75dnr80f846jj38bpcjw5z73iw292ygcqsfbghvdrwl2pf5xm";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/libp2p/go-libp2p-protocol";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/libp2p/go-libp2p-protocol";
|
||||
rev = "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b";
|
||||
sha256 = "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/minio/blake2b-simd";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/minio/blake2b-simd";
|
||||
rev = "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4";
|
||||
sha256 = "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/minio/sha256-simd";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/minio/sha256-simd";
|
||||
rev = "51976451ce1942acbb55707a983ed232fa027110";
|
||||
sha256 = "0kaxvpidf6ygkkb06vi95pirll31jnmywhyalfjvf7djhim2wr8f";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mitchellh/go-homedir";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mitchellh/go-homedir";
|
||||
rev = "ae18d6b8b3205b561c79e8e5f69bff09736185f4";
|
||||
sha256 = "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mr-tron/base58";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mr-tron/base58";
|
||||
rev = "c8897612421d88a51012eaa53bf7267686173ae5";
|
||||
sha256 = "10lr50ia7xccfdvg772f7nb2azn81djcpnckhblhwq6l6a1fpm48";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/multiformats/go-multiaddr";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/multiformats/go-multiaddr";
|
||||
rev = "ec8630b6b7436b5d7f6c1c2366d3d7214d1b29e2";
|
||||
sha256 = "1npx4d3scj087a54m6my2xnd0wga8bkklswnbhzghwhhpsgmy800";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/multiformats/go-multiaddr-net";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/multiformats/go-multiaddr-net";
|
||||
rev = "f0af4033635f1241179700537dacdc04f2803df8";
|
||||
sha256 = "0s90ix09mm6dc8319l48g3zhnjl1mkih168wsdh6fdf73801lhg5";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/multiformats/go-multihash";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/multiformats/go-multihash";
|
||||
rev = "a91e75d03bf4dba801af7b159c8b2aa7b5f47ea8";
|
||||
sha256 = "1xvj944qg17vmdgzhyn5qryqrksyxi1q188f91my52wfkz23qmmm";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/sabhiram/go-gitignore";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/sabhiram/go-gitignore";
|
||||
rev = "d3107576ba9425fc1c85f4b3569c4631b805a02e";
|
||||
sha256 = "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/spaolacci/murmur3";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/spaolacci/murmur3";
|
||||
rev = "f09979ecbc725b9e6d41a297405f65e7e8804acc";
|
||||
sha256 = "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/urfave/cli";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/urfave/cli";
|
||||
rev = "b67dcf995b6a7b7f14fad5fcb7cc5441b05e814b";
|
||||
sha256 = "0n5vq4nydlhb7w12jiwphvxqdy4jwpxc3zwlxyhf05lq1nxfb56h";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/whyrusleeping/gx";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/whyrusleeping/gx";
|
||||
rev = "733691bc18c0858a3d7e1a6e0a42df7d0bcac1de";
|
||||
sha256 = "0pfx2p59xdbmqzfbgaf8xvlnzh8m05hkg596glq5kvl8ib65i4ha";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/whyrusleeping/progmeter";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/whyrusleeping/progmeter";
|
||||
rev = "f3e57218a75b913eff88d49a52c1debf9684ea04";
|
||||
sha256 = "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/whyrusleeping/stump";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/whyrusleeping/stump";
|
||||
rev = "206f8f13aae1697a6fc1f4a55799faf955971fc5";
|
||||
sha256 = "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/whyrusleeping/tar-utils";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/whyrusleeping/tar-utils";
|
||||
rev = "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc";
|
||||
sha256 = "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "3d3f9f413869b949e48070b5bc593aa22cc2b8f2";
|
||||
sha256 = "0rbkcq48lkiw043sm8hciprqy2d77s4agpj6rwy2qgbqm8gvv3a6";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "ec83556a53fe16b65c452a104ea9d1e86a671852";
|
||||
sha256 = "1ijlbyn5gs8g6z2pjlj5h77lg7wrljqxdls4xlcfqxmghxiyci2f";
|
||||
};
|
||||
}
|
||||
]
|
||||
59
pkgs/tools/package-management/holo-build/default.nix
Normal file
59
pkgs/tools/package-management/holo-build/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, perl, file }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "holo-build";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "holocm";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0lypbgf96bcc4m3968xa4il1zwprsdyc0pw6pl9mqq7djxabikd0";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace 'VERSION :=' 'VERSION ?='
|
||||
substituteInPlace src/holo-build.sh \
|
||||
--replace '/usr/lib/holo/holo-build' '${placeholder "out"}/lib/holo/holo-build'
|
||||
'';
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles perl ];
|
||||
|
||||
subPackages = [ "src/holo-build" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/holocm/holo-build/src/holo-build/common.version=${version}" ];
|
||||
|
||||
postBuild = ''
|
||||
make build/man/holo-build.8 VERSION=${version}
|
||||
'';
|
||||
|
||||
checkInputs = [ file ];
|
||||
|
||||
checkPhase = ''
|
||||
ln -s ../../go/bin/holo-build build/holo-build
|
||||
go build -ldflags "-s -w -X github.com/holocm/holo-build/src/holo-build/common.version=${version}" -o build/dump-package ./src/dump-package
|
||||
bash test/compiler/run_tests.sh
|
||||
bash test/interface/run_tests.sh
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage build/man/*
|
||||
installShellCompletion --bash --name holo-build util/autocomplete.bash
|
||||
installShellCompletion --zsh --name _holo-build util/autocomplete.zsh
|
||||
|
||||
# install wrapper script
|
||||
mkdir -p $out/lib/holo
|
||||
mv $out/bin/holo-build $out/lib/holo/holo-build
|
||||
cp src/holo-build.sh $out/bin/holo-build
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cross-distribution system package compiler";
|
||||
homepage = "https://holocm.org/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
58
pkgs/tools/package-management/home-manager/default.nix
Normal file
58
pkgs/tools/package-management/home-manager/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
#Adapted from
|
||||
#https://github.com/rycee/home-manager/blob/2c07829be2bcae55e04997b19719ff902a44016d/home-manager/default.nix
|
||||
|
||||
{ bash, coreutils, findutils, gnused, less, ncurses, gettext, nixos-option, lib, stdenv, makeWrapper, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "home-manager";
|
||||
version = "2022-04-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "home-manager";
|
||||
rev = "620ed197f3624dafa5f42e61d5c043f39b8df366";
|
||||
sha256 = "sha256-BoBvGT71yOfrNDTZQs7+FX0zb4yjMBETgIjtTsdJw+o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -v -D -m755 ${src}/home-manager/home-manager $out/bin/home-manager
|
||||
|
||||
substituteInPlace $out/bin/home-manager \
|
||||
--subst-var-by bash "${bash}" \
|
||||
--subst-var-by DEP_PATH "${
|
||||
lib.makeBinPath [ coreutils findutils gettext gnused less ncurses nixos-option ]
|
||||
}" \
|
||||
--subst-var-by HOME_MANAGER_LIB '${src}/lib/bash/home-manager.sh' \
|
||||
--subst-var-by HOME_MANAGER_PATH '${src}' \
|
||||
--subst-var-by OUT "$out"
|
||||
|
||||
install -D -m755 ${src}/home-manager/completion.bash \
|
||||
$out/share/bash-completion/completions/home-manager
|
||||
install -D -m755 ${src}/home-manager/completion.zsh \
|
||||
$out/share/zsh/site-functions/_home-manager
|
||||
install -D -m755 ${src}/home-manager/completion.fish \
|
||||
$out/share/fish/vendor_completions.d/home-manager.fish
|
||||
|
||||
install -D -m755 ${src}/lib/bash/home-manager.sh \
|
||||
"$out/share/bash/home-manager.sh"
|
||||
|
||||
for path in ${src}/home-manager/po/*.po; do
|
||||
lang="''${path##*/}"
|
||||
lang="''${lang%%.*}"
|
||||
mkdir -p "$out/share/locale/$lang/LC_MESSAGES"
|
||||
${gettext}/bin/msgfmt -o "$out/share/locale/$lang/LC_MESSAGES/home-manager.mo" "$path"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A user environment configurator";
|
||||
homepage = "https://rycee.gitlab.io/home-manager/";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
64
pkgs/tools/package-management/libdnf/default.nix
Normal file
64
pkgs/tools/package-management/libdnf/default.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, gettext, pkg-config, gpgme, libsolv, openssl, check
|
||||
, json_c, libmodulemd, libsmartcols, sqlite, librepo, libyaml, rpm, zchunk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libdnf";
|
||||
version = "0.66.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rpm-software-management";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-fQyNm51roz6wn9QAE8/ZIrutyWP45xiKVHzn8n0LcwE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gettext
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
check
|
||||
gpgme
|
||||
openssl
|
||||
json_c
|
||||
libsmartcols
|
||||
libyaml
|
||||
libmodulemd
|
||||
zchunk
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sqlite
|
||||
libsolv
|
||||
librepo
|
||||
rpm
|
||||
];
|
||||
|
||||
# See https://github.com/NixOS/nixpkgs/issues/107430
|
||||
prePatch = ''
|
||||
cp ${libsolv}/share/cmake/Modules/FindLibSolv.cmake cmake/modules/
|
||||
'';
|
||||
|
||||
# See https://github.com/NixOS/nixpkgs/issues/107428
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace "enable_testing()" "" \
|
||||
--replace "add_subdirectory(tests)" ""
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_GTKDOC=OFF"
|
||||
"-DWITH_HTML=OFF"
|
||||
"-DWITH_BINDINGS=OFF"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Package management library.";
|
||||
homepage = "https://github.com/rpm-software-management/libdnf";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ rb2k ];
|
||||
};
|
||||
}
|
||||
64
pkgs/tools/package-management/librepo/default.nix
Normal file
64
pkgs/tools/package-management/librepo/default.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, python
|
||||
, pkg-config
|
||||
, libxml2
|
||||
, glib
|
||||
, openssl
|
||||
, zchunk
|
||||
, curl
|
||||
, check
|
||||
, gpgme
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.14.2";
|
||||
pname = "librepo";
|
||||
|
||||
outputs = [ "out" "dev" "py" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rpm-software-management";
|
||||
repo = "librepo";
|
||||
rev = version;
|
||||
sha256 = "sha256-KpGbHBgywaXV7r8W5CPS2N1GohdDFiOwAJmrrjS1m5g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
python
|
||||
libxml2
|
||||
glib
|
||||
openssl
|
||||
curl
|
||||
check
|
||||
gpgme
|
||||
zchunk
|
||||
];
|
||||
|
||||
# librepo/fastestmirror.h includes curl/curl.h, and pkg-config specfile refers to others in here
|
||||
propagatedBuildInputs = [
|
||||
curl
|
||||
gpgme
|
||||
libxml2
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPYTHON_DESIRED=${lib.substring 0 1 python.pythonVersion}" ];
|
||||
|
||||
postFixup = ''
|
||||
moveToOutput "lib/${python.libPrefix}" "$py"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library providing C and Python (libcURL like) API for downloading linux repository metadata and packages";
|
||||
homepage = "https://rpm-software-management.github.io/librepo/";
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ copumpkin ];
|
||||
};
|
||||
}
|
||||
2
pkgs/tools/package-management/licensee/Gemfile
Normal file
2
pkgs/tools/package-management/licensee/Gemfile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'licensee'
|
||||
44
pkgs/tools/package-management/licensee/Gemfile.lock
Normal file
44
pkgs/tools/package-management/licensee/Gemfile.lock
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.7.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
dotenv (2.7.6)
|
||||
faraday (1.3.0)
|
||||
faraday-net_http (~> 1.0)
|
||||
multipart-post (>= 1.2, < 3)
|
||||
ruby2_keywords
|
||||
faraday-net_http (1.0.1)
|
||||
licensee (9.15.1)
|
||||
dotenv (~> 2.0)
|
||||
octokit (~> 4.20)
|
||||
reverse_markdown (~> 1.0)
|
||||
rugged (>= 0.24, < 2.0)
|
||||
thor (>= 0.19, < 2.0)
|
||||
mini_portile2 (2.5.0)
|
||||
multipart-post (2.1.1)
|
||||
nokogiri (1.11.1)
|
||||
mini_portile2 (~> 2.5.0)
|
||||
racc (~> 1.4)
|
||||
octokit (4.20.0)
|
||||
faraday (>= 0.9)
|
||||
sawyer (~> 0.8.0, >= 0.5.3)
|
||||
public_suffix (4.0.6)
|
||||
racc (1.5.2)
|
||||
reverse_markdown (1.4.0)
|
||||
nokogiri
|
||||
ruby2_keywords (0.0.4)
|
||||
rugged (1.1.0)
|
||||
sawyer (0.8.2)
|
||||
addressable (>= 2.3.5)
|
||||
faraday (> 0.8, < 2.0)
|
||||
thor (1.1.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
licensee
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
||||
17
pkgs/tools/package-management/licensee/default.nix
Normal file
17
pkgs/tools/package-management/licensee/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, bundlerApp, bundlerUpdateScript }:
|
||||
|
||||
bundlerApp {
|
||||
pname = "licensee";
|
||||
gemdir = ./.;
|
||||
exes = [ "licensee" ];
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "licensee";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Ruby Gem to detect under what license a project is distributed";
|
||||
homepage = "https://licensee.github.io/licensee/";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
169
pkgs/tools/package-management/licensee/gemset.nix
Normal file
169
pkgs/tools/package-management/licensee/gemset.nix
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
{
|
||||
addressable = {
|
||||
dependencies = ["public_suffix"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1fvchp2rhp2rmigx7qglf69xvjqvzq7x0g49naliw29r2bz656sy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.7.0";
|
||||
};
|
||||
dotenv = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0iym172c5337sm1x2ykc2i3f961vj3wdclbyg1x6sxs3irgfsl94";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.7.6";
|
||||
};
|
||||
faraday = {
|
||||
dependencies = ["faraday-net_http" "multipart-post" "ruby2_keywords"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1hmssd8pj4n7yq4kz834ylkla8ryyvhaap6q9nzymp93m1xq21kz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.3.0";
|
||||
};
|
||||
faraday-net_http = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1fi8sda5hc54v1w3mqfl5yz09nhx35kglyx72w7b8xxvdr0cwi9j";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.1";
|
||||
};
|
||||
licensee = {
|
||||
dependencies = ["dotenv" "octokit" "reverse_markdown" "rugged" "thor"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1pvrz9fjvxzk3aq85zgh8dkw98kz54jmwi10k3shc8dqbrlvragy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "9.15.1";
|
||||
};
|
||||
mini_portile2 = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1hdbpmamx8js53yk3h8cqy12kgv6ca06k0c9n3pxh6b6cjfs19x7";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.5.0";
|
||||
};
|
||||
multipart-post = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1zgw9zlwh2a6i1yvhhc4a84ry1hv824d6g2iw2chs3k5aylpmpfj";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.1.1";
|
||||
};
|
||||
nokogiri = {
|
||||
dependencies = ["mini_portile2" "racc"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1ajwkqr28hwqbyl1l3czx4a34c88acxywyqp8cjyy0zgsd6sbhj2";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.11.1";
|
||||
};
|
||||
octokit = {
|
||||
dependencies = ["faraday" "sawyer"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1fl517ld5vj0llyshp3f9kb7xyl9iqy28cbz3k999fkbwcxzhlyq";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.20.0";
|
||||
};
|
||||
public_suffix = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1xqcgkl7bwws1qrlnmxgh8g4g9m10vg60bhlw40fplninb3ng6d9";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.0.6";
|
||||
};
|
||||
racc = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "178k7r0xn689spviqzhvazzvxfq6fyjldxb3ywjbgipbfi4s8j1g";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.5.2";
|
||||
};
|
||||
reverse_markdown = {
|
||||
dependencies = ["nokogiri"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0w786j869fjhjf72waj0hc9i4ghi45b78a2am27kij4sa2hmsc53";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.4.0";
|
||||
};
|
||||
ruby2_keywords = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "15wfcqxyfgka05v2a7kpg64x57gl1y4xzvnc9lh60bqx5sf1iqrs";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.4";
|
||||
};
|
||||
rugged = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "04aq913plcxjw71l5r62qgz3bx3466p0wvgyfqahg5n3nybmcwqy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.0";
|
||||
};
|
||||
sawyer = {
|
||||
dependencies = ["addressable" "faraday"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0yrdchs3psh583rjapkv33mljdivggqn99wkydkjdckcjn43j3cz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.8.2";
|
||||
};
|
||||
thor = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "18yhlvmfya23cs3pvhr1qy38y41b6mhr5q9vwv5lrgk16wmf3jna";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.0";
|
||||
};
|
||||
}
|
||||
24
pkgs/tools/package-management/microdnf/default.nix
Normal file
24
pkgs/tools/package-management/microdnf/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, gettext, libdnf, pkg-config, glib, libpeas, libsmartcols, help2man }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "microdnf";
|
||||
version = "3.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rpm-software-management";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-yKIhXjeiCOq5JsAquaPnYAJZk53FioOKGIAT2xYfLO8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake gettext help2man ];
|
||||
buildInputs = [ libdnf glib libpeas libsmartcols ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight implementation of dnf in C";
|
||||
homepage = "https://github.com/rpm-software-management/microdnf";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ rb2k ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
69
pkgs/tools/package-management/micromamba/default.nix
Normal file
69
pkgs/tools/package-management/micromamba/default.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake
|
||||
, cli11, nlohmann_json, curl, libarchive, libyamlcpp, libsolv, reproc, spdlog, termcolor, ghc_filesystem
|
||||
}:
|
||||
|
||||
let
|
||||
libsolv' = libsolv.overrideAttrs (oldAttrs: {
|
||||
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
||||
"-DENABLE_CONDA=true"
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Patch added by the mamba team
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/conda_variant_priorization.patch";
|
||||
sha256 = "1iic0yx7h8s662hi2jqx68w5kpyrab4fr017vxd4wyxb6wyk35dd";
|
||||
})
|
||||
];
|
||||
});
|
||||
|
||||
spdlog' = spdlog.overrideAttrs (oldAttrs: {
|
||||
# Required for header files. See alse:
|
||||
# https://github.com/gabime/spdlog/pull/1241 (current solution)
|
||||
# https://github.com/gabime/spdlog/issues/1897 (previous solution)
|
||||
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
||||
"-DSPDLOG_FMT_EXTERNAL=OFF"
|
||||
];
|
||||
});
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "micromamba";
|
||||
version = "0.22.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mamba-org";
|
||||
repo = "mamba";
|
||||
rev = "micromamba-" + version;
|
||||
sha256 = "sha256-9/vkn8wks2nyzIn5hnK+zvX18Du2B8YZ3/ugrmEGVH8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
cli11
|
||||
nlohmann_json
|
||||
curl
|
||||
libarchive
|
||||
libyamlcpp
|
||||
libsolv'
|
||||
reproc
|
||||
spdlog'
|
||||
termcolor
|
||||
ghc_filesystem
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_LIBMAMBA=ON"
|
||||
"-DBUILD_SHARED=ON"
|
||||
"-DBUILD_MICROMAMBA=ON"
|
||||
# "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reimplementation of the conda package manager";
|
||||
homepage = "https://github.com/mamba-org/mamba";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ mausch ];
|
||||
};
|
||||
}
|
||||
38
pkgs/tools/package-management/morph/default.nix
Normal file
38
pkgs/tools/package-management/morph/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib, makeWrapper, openssh }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "morph";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbcdk";
|
||||
repo = "morph";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-0CHmjqPxBgALGZYjfJFLoLBnoI0U7oZ8WyCtu1bkzZg=";
|
||||
};
|
||||
|
||||
vendorSha256 = "08zzp0h4c4i5hk4whz06a3da7qjms6lr36596vxz0d8q0n7rspr9";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
ldflags = [
|
||||
"-X main.version=${version}"
|
||||
"-X main.assetRoot=${placeholder "lib"}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $lib
|
||||
cp -v ./data/*.nix $lib
|
||||
wrapProgram $out/bin/morph --prefix PATH : ${lib.makeBinPath [ openssh ]};
|
||||
'';
|
||||
|
||||
outputs = [ "out" "lib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A NixOS host manager written in Golang";
|
||||
license = licenses.mit;
|
||||
homepage = "https://github.com/dbcdk/morph";
|
||||
maintainers = with maintainers; [adamt johanot];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
41
pkgs/tools/package-management/mynewt-newt/default.nix
Normal file
41
pkgs/tools/package-management/mynewt-newt/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mynewt-newt";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "mynewt-newt";
|
||||
rev = "mynewt_${builtins.replaceStrings ["."] ["_"] version}_tag";
|
||||
sha256 = "0rwn4ghh7kal8csxlh0w1p29b5m1nam9lkrxla5wdfhnzbsg8hfa";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/apache/mynewt-newt/commit/6a51e35565323ebe8feb8d1aa6e00960b6ce662e.patch";
|
||||
sha256 = "186yha60jzcjq8r04w12rqqh3cin2w974l77hz2ixhmjzyr56wqv";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/apache/mynewt-newt/commit/7d4ef3fe65a9a83cc58e7bd973654ad235cc68bc.patch";
|
||||
sha256 = "01scmq58bfr4c9icqzm79q7a55izflsb3mlx9xn0dv92m3mbprx7";
|
||||
})
|
||||
];
|
||||
|
||||
vendorSha256 = "1sh9mx3lc28fzvc1yrhz58rlbaac7aq1dqyvxwj98vld3kigpv1z";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://mynewt.apache.org/";
|
||||
description = "Build and package management tool for embedded development";
|
||||
longDescription = ''
|
||||
Apache Newt is a smart build and package management tool,
|
||||
designed for C and C++ applications in embedded contexts. Newt
|
||||
was developed as a part of the Apache Mynewt Operating System.
|
||||
'';
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pjones ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
24
pkgs/tools/package-management/nfpm/default.nix
Normal file
24
pkgs/tools/package-management/nfpm/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nfpm";
|
||||
version = "2.15.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "goreleaser";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-D/1psEpOoDiA/dpnUc9sUaOq8Dk5QEImIWEp08FyV7o=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-guJgLjmB29sOLIzs2+gKNp0WTWC3zS9Sb5DD5IistKY=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple deb and rpm packager written in Go";
|
||||
homepage = "https://github.com/goreleaser/nfpm";
|
||||
maintainers = with maintainers; [ marsam techknowlogick ];
|
||||
license = with licenses; [ mit ];
|
||||
};
|
||||
}
|
||||
34
pkgs/tools/package-management/niff/default.nix
Normal file
34
pkgs/tools/package-management/niff/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "niff";
|
||||
version = "0.1";
|
||||
in stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FRidh";
|
||||
repo = "niff";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ziv5r57jzg2qg61izvkkyq1bz4p5nb6652dzwykfj3l2r3db4bi";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp niff $out/bin/niff
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A program that compares two Nix expressions and determines which attributes changed";
|
||||
homepage = "https://github.com/FRidh/niff";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.fridh ];
|
||||
};
|
||||
}
|
||||
61
pkgs/tools/package-management/nix-bundle/default.nix
Normal file
61
pkgs/tools/package-management/nix-bundle/default.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, bzip2
|
||||
, coreutils
|
||||
, gnutar
|
||||
, gzip
|
||||
, makeWrapper
|
||||
, nix
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-bundle";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matthewbauer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0js8spwjvw6kjxz1i072scd035fhiyazixvn84ibdnw8dx087gjv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
# coreutils, gnutar are needed by nix for bootstrap
|
||||
buildInputs = [
|
||||
bzip2
|
||||
coreutils
|
||||
gnutar
|
||||
gzip
|
||||
nix
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper $out/share/nix-bundle/nix-bundle.sh $out/bin/nix-bundle \
|
||||
--prefix PATH : ${lib.makeBinPath buildInputs}
|
||||
ln -s $out/share/nix-bundle/nix-run.sh $out/bin/nix-run
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/matthewbauer/nix-bundle";
|
||||
description = "Create bundles from Nixpkgs attributes";
|
||||
longDescription = ''
|
||||
nix-bundle is a way to package Nix attributes into single-file
|
||||
executables.
|
||||
|
||||
Benefits:
|
||||
- Single-file output
|
||||
- Can be run by non-root users
|
||||
- No runtime
|
||||
- Distro agnostic
|
||||
- No installation
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.matthewbauer ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
29
pkgs/tools/package-management/nix-doc/default.nix
Normal file
29
pkgs/tools/package-management/nix-doc/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, boost, nix, pkg-config }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-doc";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "lf-";
|
||||
repo = "nix-doc";
|
||||
sha256 = "sha256-bijcLIRBfoqirwz98Q3uQjHXSOaaqZECfav4TUvCuxg=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
buildInputs = [ boost nix ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
cargoSha256 = "sha256-LpcAMsBeNa2GDGN7+9rTtkQluPfHSnAxanRtDtRahzc=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "An interactive Nix documentation tool";
|
||||
longDescription = "An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script";
|
||||
homepage = "https://github.com/lf-/nix-doc";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [ maintainers.lf- ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
44
pkgs/tools/package-management/nix-du/default.nix
Normal file
44
pkgs/tools/package-management/nix-du/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, nix
|
||||
, nlohmann_json
|
||||
, boost
|
||||
, graphviz
|
||||
, Security
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-du";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "symphorien";
|
||||
repo = "nix-du";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LOs+geYOiAigxwc4VD0FiZQjAnIrcV9ncyPuwGhS92E=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-aEm+SQgE63ZWpb2kXavyoiq2rVkaebFw8kqWPMr2aMA=";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ nix graphviz ];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
nix
|
||||
nlohmann_json
|
||||
] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to determine which gc-roots take space in your nix store";
|
||||
homepage = "https://github.com/symphorien/nix-du";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = [ maintainers.symphorien ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
41
pkgs/tools/package-management/nix-eval-jobs/default.nix
Normal file
41
pkgs/tools/package-management/nix-eval-jobs/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, boost
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, nix
|
||||
, nlohmann_json
|
||||
, pkg-config
|
||||
, stdenv
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-eval-jobs";
|
||||
version = "2.9.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fN9D1rqJ4UFmCykTK8cU0oPWqN3wR8m9/zQ6fwVdBcY=";
|
||||
};
|
||||
buildInputs = [
|
||||
boost
|
||||
nix
|
||||
nlohmann_json
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
# nlohmann_json can be only discovered via cmake files
|
||||
cmake
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Hydra's builtin hydra-eval-jobs as a standalone";
|
||||
homepage = "https://github.com/nix-community/nix-eval-jobs";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ adisbladis mic92 ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
35
pkgs/tools/package-management/nix-index/default.nix
Normal file
35
pkgs/tools/package-management/nix-index/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, curl
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-index";
|
||||
version = "unstable-2022-03-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bennofs";
|
||||
repo = "nix-index";
|
||||
rev = "f09548f66790d2d7d53f07ad2af62993d7cabb08";
|
||||
sha256 = "sha256-xIJCzEHQJ2kHRbT4Ejrb5R5e/VqjKrklV7XneZIiyUg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-2Yhnacsx8EWsfZfcfKhV687cblyFDmsfdqGZoK6Lulo=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl curl ]
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/profile.d
|
||||
cp ./command-not-found.sh $out/etc/profile.d/command-not-found.sh
|
||||
substituteInPlace $out/etc/profile.d/command-not-found.sh \
|
||||
--replace "@out@" "$out"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A files database for nixpkgs";
|
||||
homepage = "https://github.com/bennofs/nix-index";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ bennofs ncfavier ];
|
||||
};
|
||||
}
|
||||
14
pkgs/tools/package-management/nix-index/wrapper.nix
Normal file
14
pkgs/tools/package-management/nix-index/wrapper.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, symlinkJoin, nix-index-unwrapped, makeWrapper, nix }:
|
||||
|
||||
symlinkJoin {
|
||||
inherit (nix-index-unwrapped) name meta;
|
||||
|
||||
paths = [ nix-index-unwrapped ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/nix-index \
|
||||
--prefix PATH : ${lib.makeBinPath [ nix ]}
|
||||
'';
|
||||
}
|
||||
53
pkgs/tools/package-management/nix-pin/default.nix
Normal file
53
pkgs/tools/package-management/nix-pin/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib, pkgs, stdenv, fetchFromGitHub, mypy, python3, nix, git, makeWrapper
|
||||
, runtimeShell }:
|
||||
let self = stdenv.mkDerivation rec {
|
||||
pname = "nix-pin";
|
||||
version = "0.4.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "timbertson";
|
||||
repo = "nix-pin";
|
||||
rev = "version-${version}";
|
||||
sha256 = "1pccvc0iqapms7kidrh09g5fdx44x622r5l9k7bkmssp3v4c68vy";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ python3 mypy ];
|
||||
checkPhase = ''
|
||||
mypy bin/*
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir "$out"
|
||||
cp -r bin share "$out"
|
||||
wrapProgram $out/bin/nix-pin \
|
||||
--prefix PATH : "${lib.makeBinPath [ nix git ]}"
|
||||
'';
|
||||
passthru =
|
||||
let
|
||||
defaults = import "${self}/share/nix/defaults.nix";
|
||||
in {
|
||||
api = { pinConfig ? defaults.pinConfig }:
|
||||
let impl = import "${self}/share/nix/api.nix" { inherit pkgs pinConfig; }; in
|
||||
{ inherit (impl) augmentedPkgs pins callPackage; };
|
||||
updateScript = ''
|
||||
#!${runtimeShell}
|
||||
set -e
|
||||
echo
|
||||
cd ${toString ./.}
|
||||
${pkgs.nix-update-source}/bin/nix-update-source \
|
||||
--prompt version \
|
||||
--replace-attr version \
|
||||
--set owner timbertson \
|
||||
--set repo nix-pin \
|
||||
--set type fetchFromGitHub \
|
||||
--set rev 'version-{version}' \
|
||||
--substitute rev 'version-''${{version}}' \
|
||||
--modify-nix default.nix
|
||||
'';
|
||||
};
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/timbertson/nix-pin";
|
||||
description = "nixpkgs development utility";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.timbertson ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}; in self
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, stdenv, makeWrapper, buildEnv
|
||||
, breezy, coreutils, cvs, findutils, gawk, git, git-lfs, gnused, mercurial, nix, subversion
|
||||
}:
|
||||
|
||||
let mkPrefetchScript = tool: src: deps:
|
||||
stdenv.mkDerivation {
|
||||
name = "nix-prefetch-${tool}";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -vD ${src} $out/bin/$name;
|
||||
wrapProgram $out/bin/$name \
|
||||
--prefix PATH : ${lib.makeBinPath (deps ++ [ gnused nix ])} \
|
||||
--set HOME /homeless-shelter
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Script used to obtain source hashes for fetch${tool}";
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
in rec {
|
||||
nix-prefetch-bzr = mkPrefetchScript "bzr" ../../../build-support/fetchbzr/nix-prefetch-bzr [ breezy ];
|
||||
nix-prefetch-cvs = mkPrefetchScript "cvs" ../../../build-support/fetchcvs/nix-prefetch-cvs [ cvs ];
|
||||
nix-prefetch-git = mkPrefetchScript "git" ../../../build-support/fetchgit/nix-prefetch-git [ coreutils findutils gawk git git-lfs ];
|
||||
nix-prefetch-hg = mkPrefetchScript "hg" ../../../build-support/fetchhg/nix-prefetch-hg [ mercurial ];
|
||||
nix-prefetch-svn = mkPrefetchScript "svn" ../../../build-support/fetchsvn/nix-prefetch-svn [ subversion ];
|
||||
|
||||
nix-prefetch-scripts = buildEnv {
|
||||
name = "nix-prefetch-scripts";
|
||||
|
||||
paths = [ nix-prefetch-bzr nix-prefetch-cvs nix-prefetch-git nix-prefetch-hg nix-prefetch-svn ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of all the nix-prefetch-* scripts which may be used to obtain source hashes";
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
}
|
||||
72
pkgs/tools/package-management/nix-prefetch/default.nix
Normal file
72
pkgs/tools/package-management/nix-prefetch/default.nix
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
{ lib, stdenv, fetchFromGitHub, installShellFiles, makeWrapper, asciidoc
|
||||
, docbook_xml_dtd_45, git, docbook_xsl, libxml2, libxslt, coreutils, gawk
|
||||
, gnugrep, gnused, jq, nix }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-prefetch";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "msteen";
|
||||
repo = "nix-prefetch";
|
||||
rev = version;
|
||||
sha256 = "0bwv6x651gyq703pywrhb7lfby6xwnd1iwnrzzjihipn7x3v2hz9";
|
||||
# the stat call has to be in a subshell or we get the current date
|
||||
postFetch = ''
|
||||
echo $(stat -c %Y $out) > $out/.timestamp
|
||||
'';
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
lib=$out/lib/${pname}
|
||||
|
||||
substituteInPlace doc/nix-prefetch.1.asciidoc \
|
||||
--subst-var-by version $version
|
||||
|
||||
substituteInPlace src/main.sh \
|
||||
--subst-var-by lib $lib \
|
||||
--subst-var-by version $version
|
||||
|
||||
substituteInPlace src/tests.sh \
|
||||
--subst-var-by bin $out/bin
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
asciidoc
|
||||
docbook_xml_dtd_45
|
||||
docbook_xsl
|
||||
installShellFiles
|
||||
libxml2
|
||||
libxslt
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
a2x -a revdate=$(date --utc --date=@$(cat $src/.timestamp) +%d/%m/%Y) \
|
||||
-f manpage doc/nix-prefetch.1.asciidoc
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm555 -t $lib src/*.sh
|
||||
install -Dm444 -t $lib lib/*
|
||||
makeWrapper $lib/main.sh $out/bin/${pname} \
|
||||
--prefix PATH : ${lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ]}
|
||||
|
||||
installManPage doc/nix-prefetch.?
|
||||
|
||||
installShellCompletion --name ${pname} contrib/nix-prefetch-completion.{bash,zsh}
|
||||
|
||||
mkdir -p $out/share/doc/${pname}/contrib
|
||||
cp -r contrib/hello_rs $out/share/doc/${pname}/contrib
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prefetch any fetcher function call, e.g. package sources";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ msteen ];
|
||||
homepage = "https://github.com/msteen/nix-prefetch";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
52
pkgs/tools/package-management/nix-serve/default.nix
Normal file
52
pkgs/tools/package-management/nix-serve/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, bzip2
|
||||
, nix
|
||||
, perl
|
||||
, makeWrapper
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
rev = "e4675e38ab54942e351c7686e40fabec822120b9";
|
||||
sha256 = "1wm24p6pkxl1d7hrvf4ph6mwzawvqi22c60z9xzndn5xfyr4v0yr";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "nix-serve";
|
||||
version = "0.2-${substring 0 7 rev}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "edolstra";
|
||||
repo = "nix-serve";
|
||||
inherit rev sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm0755 nix-serve.psgi $out/libexec/nix-serve/nix-serve.psgi
|
||||
|
||||
makeWrapper ${perl.withPackages(p: [ p.DBDSQLite p.Plack p.Starman nix.perl-bindings ])}/bin/starman $out/bin/nix-serve \
|
||||
--prefix PATH : "${makeBinPath [ bzip2 nix ]}" \
|
||||
--add-flags $out/libexec/nix-serve/nix-serve.psgi
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
nix-serve = nixosTests.nix-serve;
|
||||
nix-serve-ssh = nixosTests.nix-serve-ssh;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/edolstra/nix-serve";
|
||||
description = "A utility for sharing a Nix store as a binary cache";
|
||||
maintainers = [ maintainers.eelco ];
|
||||
license = licenses.lgpl21;
|
||||
platforms = nix.meta.platforms;
|
||||
};
|
||||
}
|
||||
30
pkgs/tools/package-management/nix-simple-deploy/default.nix
Normal file
30
pkgs/tools/package-management/nix-simple-deploy/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform, makeWrapper, openssh, nix-serve }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-simple-deploy";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "misuzu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1qq4fbsd2mvxblsggwbnh88mj18f3vrfzv1kgc7a92pfiwxznq8r";
|
||||
};
|
||||
|
||||
cargoSha256 = "1r6dl7qipbyyvjcd3l9ynawjln1g1qzvw5za6nyjcf41dzv48m8x";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/nix-simple-deploy" \
|
||||
--prefix PATH : "${lib.makeBinPath [ openssh nix-serve ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Deploy software or an entire NixOS system configuration to another NixOS system";
|
||||
homepage = "https://github.com/misuzu/nix-simple-deploy";
|
||||
platforms = platforms.unix;
|
||||
license = with licenses; [ asl20 /* OR */ mit ];
|
||||
maintainers = with maintainers; [ misuzu ];
|
||||
};
|
||||
}
|
||||
51
pkgs/tools/package-management/nix-template/default.nix
Normal file
51
pkgs/tools/package-management/nix-template/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, makeWrapper
|
||||
, nix
|
||||
, openssl
|
||||
, pkg-config
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-template";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
name = "${pname}-${version}-src";
|
||||
owner = "jonringer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5redgssfwbNEgpjmakIcU8cL4Xg1kPvyK88v+xMqAtw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-d4gxOIpgtVBpqy4QGW4/UB/FP94CS+yzS8GCjRVaXOM=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
# needed for nix-prefetch-url
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/nix-template \
|
||||
--prefix PATH : ${lib.makeBinPath [ nix ]}
|
||||
|
||||
installShellCompletion --cmd nix-template \
|
||||
--bash <($out/bin/nix-template completions bash) \
|
||||
--fish <($out/bin/nix-template completions fish) \
|
||||
--zsh <($out/bin/nix-template completions zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Make creating nix expressions easy";
|
||||
homepage = "https://github.com/jonringer/nix-template/";
|
||||
changelog = "https://github.com/jonringer/nix-template/releases/tag/v${version}";
|
||||
license = licenses.cc0;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
52
pkgs/tools/package-management/nix-top/default.nix
Normal file
52
pkgs/tools/package-management/nix-top/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, ruby
|
||||
, makeWrapper
|
||||
, getent # /etc/passwd
|
||||
, ncurses # tput
|
||||
, binutils-unwrapped # strings
|
||||
, coreutils
|
||||
, findutils
|
||||
}:
|
||||
|
||||
# No gems used, so mkDerivation is fine.
|
||||
let
|
||||
additionalPath = lib.makeBinPath [ getent ncurses binutils-unwrapped coreutils findutils ];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-top";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "samueldr";
|
||||
repo = "nix-top";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-w/TKzbZmMt4CX2KnLwPvR1ydp5NNlp9nNx78jJvhp54=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ruby
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/libexec/nix-top
|
||||
install -D -m755 ./nix-top $out/bin/nix-top
|
||||
wrapProgram $out/bin/nix-top \
|
||||
--prefix PATH : "$out/libexec/nix-top:${additionalPath}"
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
ln -s /bin/stty $out/libexec/nix-top
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tracks what nix is building";
|
||||
homepage = "https://github.com/samueldr/nix-top";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ samueldr ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, ruby
|
||||
}:
|
||||
|
||||
# No gems used, so mkDerivation is fine.
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-universal-prefetch";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "samueldr";
|
||||
repo = "nix-universal-prefetch";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HGn4qHWqpUwlS3yQrD3j5oH0yOlphsoSPD2vkyyRv+0=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/bin
|
||||
cp nix-universal-prefetch $out/bin/nix-universal-prefetch
|
||||
substituteInPlace "$out/bin/nix-universal-prefetch" \
|
||||
--replace "/usr/bin/env nix-shell" "${ruby}/bin/ruby"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Uses nixpkgs fetchers to figure out hashes";
|
||||
homepage = "https://github.com/samueldr/nix-universal-prefetch";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ samueldr ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
58
pkgs/tools/package-management/nix-update-source/default.nix
Normal file
58
pkgs/tools/package-management/nix-update-source/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib, pkgs, fetchFromGitHub, python3Packages, nix-prefetch-scripts, runtimeShell }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "nix-update-source";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timbertson";
|
||||
repo = "nix-update-source";
|
||||
rev = "version-${version}";
|
||||
sha256 = "157wvv9vnaszzwbj68jpdc0imcm1hdab3z760bx2axbsgfpqqilz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nix-prefetch-scripts ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
# NOTE: `fetch` should not be used within nixpkgs because it
|
||||
# uses a non-idiomatic structure. It is provided for use by
|
||||
# out-of-tree nix derivations.
|
||||
fetch = path:
|
||||
let
|
||||
fetchers = {
|
||||
# whitelist of allowed fetchers
|
||||
inherit (pkgs) fetchgit fetchurl fetchFromGitHub;
|
||||
};
|
||||
json = lib.importJSON path;
|
||||
fetchFn = builtins.getAttr json.fetch.fn fetchers;
|
||||
src = fetchFn json.fetch.args;
|
||||
in
|
||||
json // json.fetch // {
|
||||
inherit src;
|
||||
overrideSrc = drv: lib.overrideDerivation drv (orig: { inherit src; });
|
||||
};
|
||||
|
||||
updateScript = ''
|
||||
#!${runtimeShell}
|
||||
set -e
|
||||
echo
|
||||
cd ${toString ./.}
|
||||
${pkgs.nix-update-source}/bin/nix-update-source \
|
||||
--prompt version \
|
||||
--replace-attr version \
|
||||
--set owner timbertson \
|
||||
--set repo nix-update-source \
|
||||
--set type fetchFromGitHub \
|
||||
--set rev 'version-{version}' \
|
||||
--modify-nix default.nix
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Utility to automate updating of nix derivation sources";
|
||||
maintainers = with lib.maintainers; [ timbertson ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
36
pkgs/tools/package-management/nix-update/default.nix
Normal file
36
pkgs/tools/package-management/nix-update/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, nix
|
||||
, nix-prefetch
|
||||
, nixpkgs-fmt
|
||||
, nixpkgs-review
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "nix-update";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-d2S18cBkFJOIGFKrwj9U4bRvdPjrbuWfRUVug1JEw0s=";
|
||||
};
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [ nix nix-prefetch nixpkgs-fmt nixpkgs-review ])
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
$out/bin/nix-update --help >/dev/null
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Swiss-knife for updating nix packages";
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 zowoq ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
215
pkgs/tools/package-management/nix/common.nix
Normal file
215
pkgs/tools/package-management/nix/common.nix
Normal file
|
|
@ -0,0 +1,215 @@
|
|||
{ lib, fetchFromGitHub
|
||||
, version
|
||||
, suffix ? ""
|
||||
, sha256 ? null
|
||||
, src ? fetchFromGitHub { owner = "NixOS"; repo = "nix"; rev = version; inherit sha256; }
|
||||
, patches ? [ ]
|
||||
}:
|
||||
assert (sha256 == null) -> (src != null);
|
||||
let
|
||||
atLeast24 = lib.versionAtLeast version "2.4pre";
|
||||
atLeast25 = lib.versionAtLeast version "2.5pre";
|
||||
atLeast27 = lib.versionAtLeast version "2.7pre";
|
||||
in
|
||||
{ stdenv
|
||||
, autoconf-archive
|
||||
, autoreconfHook
|
||||
, bash
|
||||
, bison
|
||||
, boehmgc
|
||||
, boost
|
||||
, brotli
|
||||
, busybox-sandbox-shell
|
||||
, bzip2
|
||||
, callPackage
|
||||
, coreutils
|
||||
, curl
|
||||
, editline
|
||||
, flex
|
||||
, gnutar
|
||||
, gtest
|
||||
, gzip
|
||||
, jq
|
||||
, lib
|
||||
, libarchive
|
||||
, libcpuid
|
||||
, libsodium
|
||||
, lowdown
|
||||
, mdbook
|
||||
, nlohmann_json
|
||||
, openssl
|
||||
, perl
|
||||
, pkg-config
|
||||
, Security
|
||||
, sqlite
|
||||
, util-linuxMinimal
|
||||
, xz
|
||||
|
||||
, enableDocumentation ? !atLeast24 || stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, enableStatic ? stdenv.hostPlatform.isStatic
|
||||
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
|
||||
, withLibseccomp ? lib.meta.availableOn stdenv.hostPlatform libseccomp, libseccomp
|
||||
|
||||
, confDir
|
||||
, stateDir
|
||||
, storeDir
|
||||
}: let
|
||||
self = stdenv.mkDerivation {
|
||||
pname = "nix";
|
||||
|
||||
version = "${version}${suffix}";
|
||||
VERSION_SUFFIX = suffix;
|
||||
|
||||
inherit src patches;
|
||||
|
||||
outputs =
|
||||
[ "out" "dev" ]
|
||||
++ lib.optionals enableDocumentation [ "man" "doc" ];
|
||||
|
||||
hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
] ++ lib.optionals atLeast24 [
|
||||
autoconf-archive
|
||||
autoreconfHook
|
||||
bison
|
||||
flex
|
||||
jq
|
||||
] ++ lib.optionals (atLeast24 && enableDocumentation) [
|
||||
(lib.getBin lowdown)
|
||||
mdbook
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
util-linuxMinimal
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
brotli
|
||||
bzip2
|
||||
curl
|
||||
editline
|
||||
libsodium
|
||||
openssl
|
||||
sqlite
|
||||
xz
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
] ++ lib.optionals atLeast24 [
|
||||
gtest
|
||||
libarchive
|
||||
lowdown
|
||||
] ++ lib.optionals (atLeast24 && stdenv.isx86_64) [
|
||||
libcpuid
|
||||
] ++ lib.optionals withLibseccomp [
|
||||
libseccomp
|
||||
] ++ lib.optionals withAWS [
|
||||
aws-sdk-cpp
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boehmgc
|
||||
] ++ lib.optional (atLeast27) [
|
||||
nlohmann_json
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = lib.optionals (!atLeast24) [
|
||||
# https://github.com/NixOS/nix/commit/3e85c57a6cbf46d5f0fe8a89b368a43abd26daba
|
||||
(lib.optionalString enableStatic "-lssl -lbrotlicommon -lssh2 -lz -lnghttp2 -lcrypto")
|
||||
# https://github.com/NixOS/nix/commits/74b4737d8f0e1922ef5314a158271acf81cd79f8
|
||||
(lib.optionalString (stdenv.hostPlatform.system == "armv5tel-linux" || stdenv.hostPlatform.system == "armv6l-linux") "-latomic")
|
||||
];
|
||||
|
||||
preConfigure =
|
||||
# Copy libboost_context so we don't get all of Boost in our closure.
|
||||
# https://github.com/NixOS/nixpkgs/issues/45462
|
||||
lib.optionalString (!enableStatic) ''
|
||||
mkdir -p $out/lib
|
||||
cp -pd ${boost}/lib/{libboost_context*,libboost_thread*,libboost_system*} $out/lib
|
||||
rm -f $out/lib/*.a
|
||||
${lib.optionalString stdenv.isLinux ''
|
||||
chmod u+w $out/lib/*.so.*
|
||||
patchelf --set-rpath $out/lib:${stdenv.cc.cc.lib}/lib $out/lib/libboost_thread.so.*
|
||||
''}
|
||||
'' +
|
||||
# On all versions before c9f51e87057652db0013289a95deffba495b35e7, which
|
||||
# removes config.nix entirely and is not present in 2.3.x, we need to
|
||||
# patch around an issue where the Nix configure step pulls in the build
|
||||
# system's bash and other utilities when cross-compiling.
|
||||
lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform && !atLeast24) ''
|
||||
mkdir tmp/
|
||||
substitute corepkgs/config.nix.in tmp/config.nix.in \
|
||||
--subst-var-by bash ${bash}/bin/bash \
|
||||
--subst-var-by coreutils ${coreutils}/bin \
|
||||
--subst-var-by bzip2 ${bzip2}/bin/bzip2 \
|
||||
--subst-var-by gzip ${gzip}/bin/gzip \
|
||||
--subst-var-by xz ${xz}/bin/xz \
|
||||
--subst-var-by tar ${gnutar}/bin/tar \
|
||||
--subst-var-by tr ${coreutils}/bin/tr
|
||||
mv tmp/config.nix.in corepkgs/config.nix.in
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-store-dir=${storeDir}"
|
||||
"--localstatedir=${stateDir}"
|
||||
"--sysconfdir=${confDir}"
|
||||
"--enable-gc"
|
||||
] ++ lib.optionals (!enableDocumentation) [
|
||||
"--disable-doc-gen"
|
||||
] ++ lib.optionals (!atLeast24) [
|
||||
# option was removed in 2.4
|
||||
"--disable-init-state"
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
"--with-sandbox-shell=${busybox-sandbox-shell}/bin/busybox"
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform ? nix && stdenv.hostPlatform.nix ? system) [
|
||||
"--with-system=${stdenv.hostPlatform.nix.system}"
|
||||
] ++ lib.optionals (!withLibseccomp) [
|
||||
# RISC-V support in progress https://github.com/seccomp/libseccomp/pull/50
|
||||
"--disable-seccomp-sandboxing"
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"profiledir=$(out)/etc/profile.d"
|
||||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "PRECOMPILE_HEADERS=0"
|
||||
++ lib.optional (stdenv.hostPlatform.isDarwin) "PRECOMPILE_HEADERS=1";
|
||||
|
||||
installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
# socket path becomes too long otherwise
|
||||
preInstallCheck = lib.optionalString stdenv.isDarwin ''
|
||||
export TMPDIR=$NIX_BUILD_TOP
|
||||
''
|
||||
# See https://github.com/NixOS/nix/issues/5687
|
||||
+ lib.optionalString (atLeast25 && stdenv.isDarwin) ''
|
||||
echo "exit 99" > tests/gc-non-blocking.sh
|
||||
'';
|
||||
|
||||
separateDebugInfo = stdenv.isLinux && (atLeast24 -> !enableStatic);
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful package manager that makes package management reliable and reproducible";
|
||||
longDescription = ''
|
||||
Nix is a powerful package manager for Linux and other Unix systems that
|
||||
makes package management reliable and reproducible. It provides atomic
|
||||
upgrades and rollbacks, side-by-side installation of multiple versions of
|
||||
a package, multi-user package management and easy setup of build
|
||||
environments.
|
||||
'';
|
||||
homepage = "https://nixos.org/";
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ eelco lovesegfault artturin ];
|
||||
platforms = platforms.unix;
|
||||
outputsToInstall = [ "out" ] ++ optional enableDocumentation "man";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
inherit aws-sdk-cpp boehmgc;
|
||||
|
||||
perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; });
|
||||
};
|
||||
};
|
||||
in self
|
||||
114
pkgs/tools/package-management/nix/default.nix
Normal file
114
pkgs/tools/package-management/nix/default.nix
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
{ lib
|
||||
, aws-sdk-cpp
|
||||
, boehmgc
|
||||
, callPackage
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, Security
|
||||
|
||||
, storeDir ? "/nix/store"
|
||||
, stateDir ? "/nix/var"
|
||||
, confDir ? "/etc"
|
||||
}:
|
||||
let
|
||||
boehmgc-nix_2_3 = boehmgc.override { enableLargeConfig = true; };
|
||||
|
||||
boehmgc-nix = boehmgc-nix_2_3.overrideAttrs (drv: {
|
||||
# Part of the GC solution in https://github.com/NixOS/nix/pull/4944
|
||||
patches = (drv.patches or [ ]) ++ [ ./patches/boehmgc-coroutine-sp-fallback.patch ];
|
||||
});
|
||||
|
||||
aws-sdk-cpp-nix = (aws-sdk-cpp.override {
|
||||
apis = [ "s3" "transfer" ];
|
||||
customMemoryManagement = false;
|
||||
}).overrideDerivation (args: {
|
||||
patches = (args.patches or [ ]) ++ [ ./patches/aws-sdk-cpp-TransferManager-ContentEncoding.patch ];
|
||||
|
||||
# only a stripped down version is build which takes a lot less resources to build
|
||||
requiredSystemFeatures = null;
|
||||
});
|
||||
|
||||
common = args:
|
||||
callPackage
|
||||
(import ./common.nix ({ inherit lib fetchFromGitHub; } // args))
|
||||
{
|
||||
inherit Security storeDir stateDir confDir;
|
||||
boehmgc = boehmgc-nix;
|
||||
aws-sdk-cpp = aws-sdk-cpp-nix;
|
||||
};
|
||||
in lib.makeExtensible (self: {
|
||||
nix_2_3 = (common rec {
|
||||
version = "2.3.16";
|
||||
src = fetchurl {
|
||||
url = "https://nixos.org/releases/nix/nix-${version}/nix-${version}.tar.xz";
|
||||
sha256 = "sha256-fuaBtp8FtSVJLSAsO+3Nne4ZYLuBj2JpD2xEk7fCqrw=";
|
||||
};
|
||||
}).override { boehmgc = boehmgc-nix_2_3; };
|
||||
|
||||
nix_2_4 = common {
|
||||
version = "2.4";
|
||||
sha256 = "sha256-op48CCDgLHK0qV1Batz4Ln5FqBiRjlE6qHTiZgt3b6k=";
|
||||
# https://github.com/NixOS/nix/pull/5537
|
||||
patches = [ ./patches/install-nlohmann_json-headers.patch ];
|
||||
};
|
||||
|
||||
nix_2_5 = common {
|
||||
version = "2.5.1";
|
||||
sha256 = "sha256-GOsiqy9EaTwDn2PLZ4eFj1VkXcBUbqrqHehRE9GuGdU=";
|
||||
# https://github.com/NixOS/nix/pull/5536
|
||||
patches = [ ./patches/install-nlohmann_json-headers.patch ];
|
||||
};
|
||||
|
||||
nix_2_6 = common {
|
||||
version = "2.6.1";
|
||||
sha256 = "sha256-E9iQ7f+9Z6xFcUvvfksTEfn8LsDfzmwrcRBC//5B3V0=";
|
||||
};
|
||||
|
||||
nix_2_7 = common {
|
||||
version = "2.7.0";
|
||||
sha256 = "sha256-m8tqCS6uHveDon5GSro5yZor9H+sHeh+v/veF1IGw24=";
|
||||
patches = [
|
||||
# remove when there's a 2.7.1 release
|
||||
# https://github.com/NixOS/nix/pull/6297
|
||||
# https://github.com/NixOS/nix/issues/6243
|
||||
# https://github.com/NixOS/nixpkgs/issues/163374
|
||||
(fetchpatch {
|
||||
url = "https://github.com/NixOS/nix/commit/c9afca59e87afe7d716101e6a75565b4f4b631f7.patch";
|
||||
sha256 = "sha256-xz7QnWVCI12lX1+K/Zr9UpB93b10t1HS9y/5n5FYf8Q=";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
nix_2_8 = common {
|
||||
version = "2.8.1";
|
||||
sha256 = "sha256-zldZ4SiwkISFXxrbY/UdwooIZ3Z/I6qKxtpc3zD0T/o=";
|
||||
};
|
||||
|
||||
nix_2_9 = common {
|
||||
version = "2.9.0";
|
||||
sha256 = "sha256-W6aTsTpCTb+vXQEXDjnKqetOuJmEfSuK2CXvAMqwo74=";
|
||||
patches = [
|
||||
# can be removed when updated to 2.9.1
|
||||
(fetchpatch {
|
||||
name = "fix-segfault-in-git-fetcher";
|
||||
url = "https://github.com/NixOS/nix/commit/bc4759345538c89e1f045aaabcc0cafe4ecca12a.patch";
|
||||
sha256 = "sha256-UrfH4M7a02yfE9X3tA1Pwhw4RacBW+rShYkl7ybG64I=";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
stable = self.nix_2_9;
|
||||
|
||||
# remember to backport updates to the stable branch!
|
||||
unstable = lib.lowPrio (common rec {
|
||||
version = "2.8";
|
||||
suffix = "pre20220530_${lib.substring 0 7 src.rev}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nix";
|
||||
rev = "af23d38019a47e5bb4cd6585a1678b37c957130c";
|
||||
sha256 = "sha256-RH77Y4IhbTofNYlLQSGKLL0fJAG9iHSwRNvMEZ4M0VQ=";
|
||||
};
|
||||
});
|
||||
})
|
||||
41
pkgs/tools/package-management/nix/nix-perl.nix
Normal file
41
pkgs/tools/package-management/nix/nix-perl.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ stdenv
|
||||
, perl
|
||||
, pkg-config
|
||||
, curl
|
||||
, nix
|
||||
, libsodium
|
||||
, boost
|
||||
, autoreconfHook
|
||||
, autoconf-archive
|
||||
, nlohmann_json
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "nix-perl";
|
||||
inherit (nix) version src;
|
||||
|
||||
postUnpack = "sourceRoot=$sourceRoot/perl";
|
||||
|
||||
# This is not cross-compile safe, don't have time to fix right now
|
||||
# but noting for future travellers.
|
||||
nativeBuildInputs = [
|
||||
autoconf-archive
|
||||
autoreconfHook
|
||||
boost
|
||||
curl
|
||||
libsodium
|
||||
nix
|
||||
nlohmann_json
|
||||
perl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-dbi=${perl.pkgs.DBI}/${perl.libPrefix}"
|
||||
"--with-dbd-sqlite=${perl.pkgs.DBDSQLite}/${perl.libPrefix}"
|
||||
];
|
||||
|
||||
preConfigure = "export NIX_STATE_DIR=$TMPDIR";
|
||||
|
||||
preBuild = "unset NIX_INDENT_MAKE";
|
||||
}
|
||||
|
|
@ -0,0 +1,127 @@
|
|||
From 7d58e303159b2fb343af9a1ec4512238efa147c7 Mon Sep 17 00:00:00 2001
|
||||
From: Eelco Dolstra <edolstra@gmail.com>
|
||||
Date: Mon, 6 Aug 2018 17:15:04 +0200
|
||||
Subject: [PATCH] TransferManager: Allow setting a content-encoding for S3 uploads
|
||||
|
||||
--- a/aws-cpp-sdk-transfer/include/aws/transfer/TransferHandle.h
|
||||
+++ b/aws-cpp-sdk-transfer/include/aws/transfer/TransferHandle.h
|
||||
@@ -297,6 +297,14 @@ namespace Aws
|
||||
* Content type of the object being transferred
|
||||
*/
|
||||
inline void SetContentType(const Aws::String& value) { std::lock_guard<std::mutex> locker(m_getterSetterLock); m_contentType = value; }
|
||||
+ /**
|
||||
+ * Content encoding of the object being transferred
|
||||
+ */
|
||||
+ inline const Aws::String GetContentEncoding() const { std::lock_guard<std::mutex> locker(m_getterSetterLock); return m_contentEncoding; }
|
||||
+ /**
|
||||
+ * Content type of the object being transferred
|
||||
+ */
|
||||
+ inline void SetContentEncoding(const Aws::String& value) { std::lock_guard<std::mutex> locker(m_getterSetterLock); m_contentEncoding = value; }
|
||||
/**
|
||||
* In case of an upload, this is the metadata that was placed on the object when it was uploaded.
|
||||
* In the case of a download, this is the object metadata from the GetObject operation.
|
||||
@@ -383,6 +391,7 @@ namespace Aws
|
||||
Aws::String m_key;
|
||||
Aws::String m_fileName;
|
||||
Aws::String m_contentType;
|
||||
+ Aws::String m_contentEncoding;
|
||||
Aws::String m_versionId;
|
||||
Aws::Map<Aws::String, Aws::String> m_metadata;
|
||||
TransferStatus m_status;
|
||||
--- a/aws-cpp-sdk-transfer/include/aws/transfer/TransferManager.h
|
||||
+++ b/aws-cpp-sdk-transfer/include/aws/transfer/TransferManager.h
|
||||
@@ -154,7 +154,8 @@ namespace Aws
|
||||
const Aws::String& keyName,
|
||||
const Aws::String& contentType,
|
||||
const Aws::Map<Aws::String, Aws::String>& metadata,
|
||||
- const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr);
|
||||
+ const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
|
||||
+ const Aws::String& contentEncoding = "");
|
||||
|
||||
/**
|
||||
* Downloads the contents of bucketName/keyName in S3 to the file specified by writeToFile. This will perform a GetObject operation.
|
||||
@@ -246,7 +247,8 @@ namespace Aws
|
||||
const Aws::Map<Aws::String,
|
||||
Aws::String>& metadata,
|
||||
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context,
|
||||
- const Aws::String& fileName = "");
|
||||
+ const Aws::String& fileName = "",
|
||||
+ const Aws::String& contentEncoding = "");
|
||||
|
||||
/**
|
||||
* Submits the actual task to task schecduler
|
||||
@@ -262,7 +264,8 @@ namespace Aws
|
||||
const Aws::String& keyName,
|
||||
const Aws::String& contentType,
|
||||
const Aws::Map<Aws::String, Aws::String>& metadata,
|
||||
- const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context);
|
||||
+ const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context,
|
||||
+ const Aws::String& contentEncoding);
|
||||
|
||||
/**
|
||||
* Uploads the contents of file, to bucketName/keyName in S3. contentType and metadata will be added to the object. If the object is larger than the configured bufferSize,
|
||||
--- a/aws-cpp-sdk-transfer/source/transfer/TransferManager.cpp
|
||||
+++ b/aws-cpp-sdk-transfer/source/transfer/TransferManager.cpp
|
||||
@@ -87,9 +87,10 @@ namespace Aws
|
||||
const Aws::String& bucketName,
|
||||
const Aws::String& keyName, const Aws::String& contentType,
|
||||
const Aws::Map<Aws::String, Aws::String>& metadata,
|
||||
- const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context)
|
||||
+ const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context,
|
||||
+ const Aws::String& contentEncoding)
|
||||
{
|
||||
- return this->DoUploadFile(fileStream, bucketName, keyName, contentType, metadata, context);
|
||||
+ return this->DoUploadFile(fileStream, bucketName, keyName, contentType, metadata, context, contentEncoding);
|
||||
}
|
||||
|
||||
std::shared_ptr<TransferHandle> TransferManager::DownloadFile(const Aws::String& bucketName,
|
||||
@@ -286,6 +287,9 @@ namespace Aws
|
||||
createMultipartRequest.WithKey(handle->GetKey());
|
||||
createMultipartRequest.WithMetadata(handle->GetMetadata());
|
||||
|
||||
+ if (handle->GetContentEncoding() != "")
|
||||
+ createMultipartRequest.WithContentEncoding(handle->GetContentEncoding());
|
||||
+
|
||||
auto createMultipartResponse = m_transferConfig.s3Client->CreateMultipartUpload(createMultipartRequest);
|
||||
if (createMultipartResponse.IsSuccess())
|
||||
{
|
||||
@@ -441,6 +445,9 @@ namespace Aws
|
||||
|
||||
putObjectRequest.SetContentType(handle->GetContentType());
|
||||
|
||||
+ if (handle->GetContentEncoding() != "")
|
||||
+ putObjectRequest.SetContentEncoding(handle->GetContentEncoding());
|
||||
+
|
||||
auto buffer = m_bufferManager.Acquire();
|
||||
|
||||
auto lengthToWrite = (std::min)(m_transferConfig.bufferSize, handle->GetBytesTotalSize());
|
||||
@@ -1140,12 +1147,15 @@ namespace Aws
|
||||
const Aws::String& contentType,
|
||||
const Aws::Map<Aws::String, Aws::String>& metadata,
|
||||
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context,
|
||||
- const Aws::String& fileName)
|
||||
+ const Aws::String& fileName,
|
||||
+ const Aws::String& contentEncoding)
|
||||
{
|
||||
auto handle = Aws::MakeShared<TransferHandle>(CLASS_TAG, bucketName, keyName, 0, fileName);
|
||||
handle->SetContentType(contentType);
|
||||
handle->SetMetadata(metadata);
|
||||
handle->SetContext(context);
|
||||
+ if (contentEncoding != "")
|
||||
+ handle->SetContentEncoding(contentEncoding);
|
||||
|
||||
if (!fileStream->good())
|
||||
{
|
||||
@@ -1213,9 +1223,10 @@ namespace Aws
|
||||
const Aws::String& keyName,
|
||||
const Aws::String& contentType,
|
||||
const Aws::Map<Aws::String, Aws::String>& metadata,
|
||||
- const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context)
|
||||
+ const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context,
|
||||
+ const Aws::String& contentEncoding)
|
||||
{
|
||||
- auto handle = CreateUploadFileHandle(fileStream.get(), bucketName, keyName, contentType, metadata, context);
|
||||
+ auto handle = CreateUploadFileHandle(fileStream.get(), bucketName, keyName, contentType, metadata, context, "", contentEncoding);
|
||||
return SubmitUpload(handle, fileStream);
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
|
||||
index 4b2c429..1fb4c52 100644
|
||||
--- a/pthread_stop_world.c
|
||||
+++ b/pthread_stop_world.c
|
||||
@@ -673,6 +673,8 @@ GC_INNER void GC_push_all_stacks(void)
|
||||
struct GC_traced_stack_sect_s *traced_stack_sect;
|
||||
pthread_t self = pthread_self();
|
||||
word total_size = 0;
|
||||
+ size_t stack_limit;
|
||||
+ pthread_attr_t pattr;
|
||||
|
||||
if (!EXPECT(GC_thr_initialized, TRUE))
|
||||
GC_thr_init();
|
||||
@@ -722,6 +724,31 @@ GC_INNER void GC_push_all_stacks(void)
|
||||
hi = p->altstack + p->altstack_size;
|
||||
/* FIXME: Need to scan the normal stack too, but how ? */
|
||||
/* FIXME: Assume stack grows down */
|
||||
+ } else {
|
||||
+ if (pthread_getattr_np(p->id, &pattr)) {
|
||||
+ ABORT("GC_push_all_stacks: pthread_getattr_np failed!");
|
||||
+ }
|
||||
+ if (pthread_attr_getstacksize(&pattr, &stack_limit)) {
|
||||
+ ABORT("GC_push_all_stacks: pthread_attr_getstacksize failed!");
|
||||
+ }
|
||||
+ if (pthread_attr_destroy(&pattr)) {
|
||||
+ ABORT("GC_push_all_stacks: pthread_attr_destroy failed!");
|
||||
+ }
|
||||
+ // When a thread goes into a coroutine, we lose its original sp until
|
||||
+ // control flow returns to the thread.
|
||||
+ // While in the coroutine, the sp points outside the thread stack,
|
||||
+ // so we can detect this and push the entire thread stack instead,
|
||||
+ // as an approximation.
|
||||
+ // We assume that the coroutine has similarly added its entire stack.
|
||||
+ // This could be made accurate by cooperating with the application
|
||||
+ // via new functions and/or callbacks.
|
||||
+ #ifndef STACK_GROWS_UP
|
||||
+ if (lo >= hi || lo < hi - stack_limit) { // sp outside stack
|
||||
+ lo = hi - stack_limit;
|
||||
+ }
|
||||
+ #else
|
||||
+ #error "STACK_GROWS_UP not supported in boost_coroutine2 (as of june 2021), so we don't support it in Nix."
|
||||
+ #endif
|
||||
}
|
||||
GC_push_all_stack_sections(lo, hi, traced_stack_sect);
|
||||
# ifdef STACK_GROWS_UP
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
From 3884f7a69a57d8ecfcbcaae476ec2ff53ffbd549 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Hensing <robert@roberthensing.nl>
|
||||
Date: Thu, 11 Nov 2021 11:03:21 +0100
|
||||
Subject: [PATCH] Install nlohmann_json headers
|
||||
|
||||
These headers are included by the libexpr, libfetchers, libstore
|
||||
and libutil headers.
|
||||
Considering that these are vendored sources, Nix should expose them,
|
||||
as it is not a good idea for reverse dependencies to rely on a
|
||||
potentially different source that can go out of sync.
|
||||
---
|
||||
Makefile | 1 +
|
||||
src/nlohmann/local.mk | 2 ++
|
||||
2 files changed, 3 insertions(+)
|
||||
create mode 100644 src/nlohmann/local.mk
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 5040d288485..e6ce50cbdb7 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -10,6 +10,7 @@ makefiles = \
|
||||
src/libexpr/local.mk \
|
||||
src/libcmd/local.mk \
|
||||
src/nix/local.mk \
|
||||
+ src/nlohmann/local.mk \
|
||||
src/resolve-system-dependencies/local.mk \
|
||||
scripts/local.mk \
|
||||
misc/bash/local.mk \
|
||||
diff --git a/src/nlohmann/local.mk b/src/nlohmann/local.mk
|
||||
new file mode 100644
|
||||
index 00000000000..63c427e000e
|
||||
--- /dev/null
|
||||
+++ b/src/nlohmann/local.mk
|
||||
@@ -0,0 +1,2 @@
|
||||
+$(foreach i, $(wildcard src/nlohmann/*.hpp), \
|
||||
+ $(eval $(call install-file-in, $(i), $(includedir)/nlohmann, 0644)))
|
||||
85
pkgs/tools/package-management/nixops/default.nix
Normal file
85
pkgs/tools/package-management/nixops/default.nix
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
{ lib, python2, poetry2nix, docbook_xsl_ns, openssh, cacert, nixopsAzurePackages ? []
|
||||
, fetchurl, fetchpatch
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (poetry2nix.mkPoetryPackages {
|
||||
projectDir = ./python-env;
|
||||
python = python2;
|
||||
overrides = [
|
||||
poetry2nix.defaultPoetryOverrides
|
||||
(self: super: {
|
||||
pyjwt = super.pyjwt.overridePythonAttrs (old: {
|
||||
meta = old.meta // {
|
||||
knownVulnerabilities = lib.optionals (lib.versionOlder old.version "2.4.0") [
|
||||
"CVE-2022-29217"
|
||||
];
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
}) python;
|
||||
pythonPackages = python.pkgs;
|
||||
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
pname = "nixops";
|
||||
version = "1.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://nixos.org/releases/nixops/nixops-${version}/nixops-${version}.tar.bz2";
|
||||
sha256 = "091c0b5bca57d4aa20be20e826ec161efe3aec9c788fbbcf3806a734a517f0f3";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/NixOS/nixops/commit/fb6d4665e8efd858a215bbaaf079ec3f5ebc49b8.patch";
|
||||
sha256 = "1hbhykl811zsqlaj3y5m9d8lfsal6ps6n5p16ah6lqy2s18ap9d0";
|
||||
})
|
||||
./optional-virtd.patch
|
||||
];
|
||||
|
||||
buildInputs = [ pythonPackages.libxslt ];
|
||||
|
||||
pythonPath = (with pythonPackages;
|
||||
[ prettytable
|
||||
boto
|
||||
boto3
|
||||
hetzner
|
||||
apache-libcloud
|
||||
adal
|
||||
# Go back to sqlite once Python 2.7.13 is released
|
||||
pysqlite
|
||||
datadog
|
||||
python-digitalocean
|
||||
]
|
||||
++ lib.optional (!libvirt.passthru.libvirt.meta.insecure or true) libvirt
|
||||
++ nixopsAzurePackages);
|
||||
|
||||
checkPhase =
|
||||
# Ensure, that there are no (python) import errors
|
||||
''
|
||||
SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt \
|
||||
HOME=$(pwd) \
|
||||
$out/bin/nixops --version
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
make -C doc/manual install nixops.1 docbookxsl=${docbook_xsl_ns}/xml/xsl/docbook \
|
||||
docdir=$out/share/doc/nixops mandir=$out/share/man
|
||||
|
||||
mkdir -p $out/share/nix/nixops
|
||||
cp -av "nix/"* $out/share/nix/nixops
|
||||
|
||||
# Add openssh to nixops' PATH. On some platforms, e.g. CentOS and RHEL
|
||||
# the version of openssh is causing errors when have big networks (40+)
|
||||
wrapProgram $out/bin/nixops --prefix PATH : "${openssh}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/NixOS/nixops";
|
||||
description = "NixOS cloud provisioning and deployment tool";
|
||||
maintainers = with lib.maintainers; [ aminechikhaoui eelco rob ];
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.lgpl3;
|
||||
};
|
||||
}
|
||||
20
pkgs/tools/package-management/nixops/deps.nix
generated
Normal file
20
pkgs/tools/package-management/nixops/deps.nix
generated
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "github.com/mattn/go-sqlite3";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mattn/go-sqlite3";
|
||||
rev = "b4142c444a8941d0d92b0b7103a24df9cd815e42";
|
||||
sha256 = "0xq2y4am8dz9w9aaq24s1npg1sn8pf2gn4nki73ylz2fpjwq9vla";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/miekg/dns";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/miekg/dns";
|
||||
rev = "75229eecb7af00b2736e93b779a78429dcb19472";
|
||||
sha256 = "1vsjy07kkyx11iz4qsihhykac3ddq3ywdgv6bwrv407504f7x6wl";
|
||||
};
|
||||
}
|
||||
]
|
||||
25
pkgs/tools/package-management/nixops/nixops-dns.nix
Normal file
25
pkgs/tools/package-management/nixops/nixops-dns.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib
|
||||
, buildGoPackage
|
||||
, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "nixops-dns";
|
||||
version = "1.0";
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
goPackagePath = "github.com/kamilchm/nixops-dns";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kamilchm";
|
||||
repo = "nixops-dns";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fyqwk2knrv40zpf71a56bjyaycr3p6fzrqq7gaan056ydy83cai";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/kamilchm/nixops-dns/";
|
||||
description = "DNS server for resolving NixOps machines";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kamilchm sorki ];
|
||||
};
|
||||
}
|
||||
24
pkgs/tools/package-management/nixops/optional-virtd.patch
Normal file
24
pkgs/tools/package-management/nixops/optional-virtd.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
diff --git a/nixops/backends/libvirtd.py b/nixops/backends/libvirtd.py
|
||||
index bc5f4af7..edd1348b 100644
|
||||
--- a/nixops/backends/libvirtd.py
|
||||
+++ b/nixops/backends/libvirtd.py
|
||||
@@ -8,12 +8,18 @@ import shutil
|
||||
import string
|
||||
import subprocess
|
||||
import time
|
||||
-import libvirt
|
||||
|
||||
from nixops.backends import MachineDefinition, MachineState
|
||||
import nixops.known_hosts
|
||||
import nixops.util
|
||||
|
||||
+try:
|
||||
+ import libvirt
|
||||
+except:
|
||||
+ class libvirt(object):
|
||||
+ def __getattribute__(self, name):
|
||||
+ raise ValueError("The libvirt backend has been disabled because of security issues.")
|
||||
+
|
||||
# to prevent libvirt errors from appearing on screen, see
|
||||
# https://www.redhat.com/archives/libvirt-users/2017-August/msg00011.html
|
||||
|
||||
644
pkgs/tools/package-management/nixops/python-env/poetry.lock
generated
Normal file
644
pkgs/tools/package-management/nixops/python-env/poetry.lock
generated
Normal file
|
|
@ -0,0 +1,644 @@
|
|||
[[package]]
|
||||
name = "adal"
|
||||
version = "1.2.7"
|
||||
description = "Note: This library is already replaced by MSAL Python, available here: https://pypi.org/project/msal/ .ADAL Python remains available here as a legacy. The ADAL for Python library makes it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.dependencies]
|
||||
cryptography = ">=1.1.0"
|
||||
PyJWT = ">=1.0.0,<3"
|
||||
python-dateutil = ">=2.1.0,<3"
|
||||
requests = ">=2.0.0,<3"
|
||||
|
||||
[[package]]
|
||||
name = "apache-libcloud"
|
||||
version = "2.8.3"
|
||||
description = "A standard Python library that abstracts away differences among multiple cloud provider APIs. For more information and documentation, please see http://libcloud.apache.org"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
|
||||
|
||||
[package.dependencies]
|
||||
"backports.ssl-match-hostname" = {version = "*", markers = "python_version < \"2.7.9\""}
|
||||
enum34 = {version = "*", markers = "python_version < \"3.4.0\""}
|
||||
requests = ">=2.5.0"
|
||||
typing = {version = "*", markers = "python_version < \"3.4.0\""}
|
||||
|
||||
[[package]]
|
||||
name = "backports.functools-lru-cache"
|
||||
version = "1.6.4"
|
||||
description = "Backport of functools.lru_cache"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.6"
|
||||
|
||||
[package.extras]
|
||||
docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"]
|
||||
testing = ["pytest (>=4.6)", "pytest-black (>=0.3.7)", "pytest-mypy", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-checkdocs (>=2.4)"]
|
||||
|
||||
[[package]]
|
||||
name = "backports.ssl-match-hostname"
|
||||
version = "3.7.0.1"
|
||||
description = "The ssl.match_hostname() function from Python 3.5"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "boto"
|
||||
version = "2.49.0"
|
||||
description = "Amazon Web Services Library"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "boto3"
|
||||
version = "1.17.112"
|
||||
description = "The AWS SDK for Python"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">= 2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
|
||||
|
||||
[package.dependencies]
|
||||
botocore = ">=1.20.112,<1.21.0"
|
||||
jmespath = ">=0.7.1,<1.0.0"
|
||||
s3transfer = ">=0.4.0,<0.5.0"
|
||||
|
||||
[[package]]
|
||||
name = "botocore"
|
||||
version = "1.20.112"
|
||||
description = "Low-level, data-driven core of boto 3."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">= 2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
|
||||
|
||||
[package.dependencies]
|
||||
jmespath = ">=0.7.1,<1.0.0"
|
||||
python-dateutil = ">=2.1,<3.0.0"
|
||||
urllib3 = ">=1.25.4,<1.27"
|
||||
|
||||
[package.extras]
|
||||
crt = ["awscrt (==0.11.24)"]
|
||||
|
||||
[[package]]
|
||||
name = "certifi"
|
||||
version = "2021.10.8"
|
||||
description = "Python package for providing Mozilla's CA Bundle."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "cffi"
|
||||
version = "1.15.0"
|
||||
description = "Foreign Function Interface for Python calling C code."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.dependencies]
|
||||
pycparser = "*"
|
||||
|
||||
[[package]]
|
||||
name = "chardet"
|
||||
version = "4.0.0"
|
||||
description = "Universal encoding detector for Python 2 and 3"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
||||
|
||||
[[package]]
|
||||
name = "configparser"
|
||||
version = "4.0.2"
|
||||
description = "Updated configparser from Python 3.7 for Python 2.6+."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.6"
|
||||
|
||||
[package.extras]
|
||||
docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]
|
||||
testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2)", "pytest-flake8", "pytest-black-multipy"]
|
||||
|
||||
[[package]]
|
||||
name = "contextlib2"
|
||||
version = "0.6.0.post1"
|
||||
description = "Backports and enhancements for the contextlib module"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
|
||||
|
||||
[[package]]
|
||||
name = "cryptography"
|
||||
version = "3.3.2"
|
||||
description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*"
|
||||
|
||||
[package.dependencies]
|
||||
cffi = ">=1.12"
|
||||
enum34 = {version = "*", markers = "python_version < \"3\""}
|
||||
ipaddress = {version = "*", markers = "python_version < \"3\""}
|
||||
six = ">=1.4.1"
|
||||
|
||||
[package.extras]
|
||||
docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"]
|
||||
docstest = ["doc8", "pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"]
|
||||
pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"]
|
||||
ssh = ["bcrypt (>=3.1.5)"]
|
||||
test = ["pytest (>=3.6.0,!=3.9.0,!=3.9.1,!=3.9.2)", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"]
|
||||
|
||||
[[package]]
|
||||
name = "datadog"
|
||||
version = "0.42.0"
|
||||
description = "The Datadog Python library"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.dependencies]
|
||||
configparser = {version = "<5", markers = "python_version < \"3.0\""}
|
||||
requests = ">=2.6.0"
|
||||
typing = {version = "*", markers = "python_version < \"3.5\""}
|
||||
|
||||
[[package]]
|
||||
name = "enum34"
|
||||
version = "1.1.10"
|
||||
description = "Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "futures"
|
||||
version = "3.3.0"
|
||||
description = "Backport of the concurrent.futures package from Python 3"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.6, <3"
|
||||
|
||||
[[package]]
|
||||
name = "hetzner"
|
||||
version = "0.8.3"
|
||||
description = "High level access to the Hetzner robot"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "idna"
|
||||
version = "2.10"
|
||||
description = "Internationalized Domain Names in Applications (IDNA)"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
|
||||
|
||||
[[package]]
|
||||
name = "importlib-metadata"
|
||||
version = "2.1.2"
|
||||
description = "Read metadata from Python packages"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
|
||||
|
||||
[package.dependencies]
|
||||
configparser = {version = ">=3.5", markers = "python_version < \"3\""}
|
||||
contextlib2 = {version = "*", markers = "python_version < \"3\""}
|
||||
pathlib2 = {version = "*", markers = "python_version < \"3\""}
|
||||
zipp = ">=0.5"
|
||||
|
||||
[package.extras]
|
||||
docs = ["sphinx", "rst.linker"]
|
||||
testing = ["packaging", "pep517", "unittest2", "importlib-resources (>=1.3)"]
|
||||
|
||||
[[package]]
|
||||
name = "ipaddress"
|
||||
version = "1.0.23"
|
||||
description = "IPv4/IPv6 manipulation library"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "jmespath"
|
||||
version = "0.10.0"
|
||||
description = "JSON Matching Expressions"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
|
||||
|
||||
[[package]]
|
||||
name = "jsonpickle"
|
||||
version = "2.0.0"
|
||||
description = "Python library for serializing any arbitrary object graph into JSON"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7"
|
||||
|
||||
[package.dependencies]
|
||||
importlib-metadata = {version = "*", markers = "python_version < \"3.8\""}
|
||||
|
||||
[package.extras]
|
||||
docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]
|
||||
testing = ["coverage (<5)", "pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-black-multipy", "pytest-cov", "ecdsa", "feedparser", "numpy", "pandas", "pymongo", "sklearn", "sqlalchemy", "enum34", "jsonlib"]
|
||||
"testing.libs" = ["demjson", "simplejson", "ujson", "yajl"]
|
||||
|
||||
[[package]]
|
||||
name = "pathlib2"
|
||||
version = "2.3.6"
|
||||
description = "Object-oriented filesystem paths"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.dependencies]
|
||||
scandir = {version = "*", markers = "python_version < \"3.5\""}
|
||||
six = "*"
|
||||
|
||||
[[package]]
|
||||
name = "prettytable"
|
||||
version = "1.0.1"
|
||||
description = "A simple Python library for easily displaying tabular data in a visually appealing ASCII table format"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
||||
|
||||
[package.dependencies]
|
||||
wcwidth = "*"
|
||||
|
||||
[package.extras]
|
||||
tests = ["pytest", "pytest-cov"]
|
||||
|
||||
[[package]]
|
||||
name = "pycparser"
|
||||
version = "2.21"
|
||||
description = "C parser in Python"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
|
||||
|
||||
[[package]]
|
||||
name = "pyjwt"
|
||||
version = "1.7.1"
|
||||
description = "JSON Web Token implementation in Python"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.extras]
|
||||
crypto = ["cryptography (>=1.4)"]
|
||||
flake8 = ["flake8", "flake8-import-order", "pep8-naming"]
|
||||
test = ["pytest (>=4.0.1,<5.0.0)", "pytest-cov (>=2.6.0,<3.0.0)", "pytest-runner (>=4.2,<5.0.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "pysqlite"
|
||||
version = "2.8.3"
|
||||
description = "DB-API 2.0 interface for SQLite 3.x"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "python-dateutil"
|
||||
version = "2.8.2"
|
||||
description = "Extensions to the standard Python datetime module"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
|
||||
|
||||
[package.dependencies]
|
||||
six = ">=1.5"
|
||||
|
||||
[[package]]
|
||||
name = "python-digitalocean"
|
||||
version = "1.17.0"
|
||||
description = "digitalocean.com API to manage Droplets and Images"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.dependencies]
|
||||
jsonpickle = "*"
|
||||
requests = "*"
|
||||
|
||||
[[package]]
|
||||
name = "requests"
|
||||
version = "2.27.1"
|
||||
description = "Python HTTP for Humans."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
|
||||
|
||||
[package.dependencies]
|
||||
certifi = ">=2017.4.17"
|
||||
chardet = {version = ">=3.0.2,<5", markers = "python_version < \"3\""}
|
||||
idna = {version = ">=2.5,<3", markers = "python_version < \"3\""}
|
||||
urllib3 = ">=1.21.1,<1.27"
|
||||
|
||||
[package.extras]
|
||||
socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"]
|
||||
use_chardet_on_py3 = ["chardet (>=3.0.2,<5)"]
|
||||
|
||||
[[package]]
|
||||
name = "s3transfer"
|
||||
version = "0.4.2"
|
||||
description = "An Amazon S3 Transfer Manager"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.dependencies]
|
||||
botocore = ">=1.12.36,<2.0a.0"
|
||||
futures = {version = ">=2.2.0,<4.0.0", markers = "python_version == \"2.7\""}
|
||||
|
||||
[package.extras]
|
||||
crt = ["botocore[crt] (>=1.20.29,<2.0a.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "scandir"
|
||||
version = "1.10.0"
|
||||
description = "scandir, a better directory iterator and faster os.walk()"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[[package]]
|
||||
name = "six"
|
||||
version = "1.16.0"
|
||||
description = "Python 2 and 3 compatibility utilities"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
|
||||
|
||||
[[package]]
|
||||
name = "typing"
|
||||
version = "3.10.0.0"
|
||||
description = "Type Hints for Python"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5"
|
||||
|
||||
[[package]]
|
||||
name = "urllib3"
|
||||
version = "1.26.8"
|
||||
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4"
|
||||
|
||||
[package.extras]
|
||||
brotli = ["brotlipy (>=0.6.0)"]
|
||||
secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"]
|
||||
socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "wcwidth"
|
||||
version = "0.2.5"
|
||||
description = "Measures the displayed width of unicode strings in a terminal"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.dependencies]
|
||||
"backports.functools-lru-cache" = {version = ">=1.2.1", markers = "python_version < \"3.2\""}
|
||||
|
||||
[[package]]
|
||||
name = "zipp"
|
||||
version = "1.2.0"
|
||||
description = "Backport of pathlib-compatible object wrapper for zip files"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=2.7"
|
||||
|
||||
[package.dependencies]
|
||||
contextlib2 = {version = "*", markers = "python_version < \"3.4\""}
|
||||
|
||||
[package.extras]
|
||||
docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]
|
||||
testing = ["pathlib2", "unittest2", "jaraco.itertools", "func-timeout"]
|
||||
|
||||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = "^2.7"
|
||||
content-hash = "4d572971089aafa023518c48b1048ea91ffb2d35c9737d0f43bf1b0395ae2769"
|
||||
|
||||
[metadata.files]
|
||||
adal = [
|
||||
{file = "adal-1.2.7-py2.py3-none-any.whl", hash = "sha256:2a7451ed7441ddbc57703042204a3e30ef747478eea022c70f789fc7f084bc3d"},
|
||||
{file = "adal-1.2.7.tar.gz", hash = "sha256:d74f45b81317454d96e982fd1c50e6fb5c99ac2223728aea8764433a39f566f1"},
|
||||
]
|
||||
apache-libcloud = [
|
||||
{file = "apache-libcloud-2.8.3.tar.gz", hash = "sha256:70096690b24a7832cc5abdfda1954b49fddc1c09a348a1e6caa781ac867ed4c6"},
|
||||
{file = "apache_libcloud-2.8.3-py2.py3-none-any.whl", hash = "sha256:a3414c1ecc9bb9643fd11af18018b23922f4a2585babf9a4450c3531994935f2"},
|
||||
]
|
||||
"backports.functools-lru-cache" = [
|
||||
{file = "backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl", hash = "sha256:dbead04b9daa817909ec64e8d2855fb78feafe0b901d4568758e3a60559d8978"},
|
||||
{file = "backports.functools_lru_cache-1.6.4.tar.gz", hash = "sha256:d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271"},
|
||||
]
|
||||
"backports.ssl-match-hostname" = [
|
||||
{file = "backports.ssl_match_hostname-3.7.0.1.tar.gz", hash = "sha256:bb82e60f9fbf4c080eabd957c39f0641f0fc247d9a16e31e26d594d8f42b9fd2"},
|
||||
]
|
||||
boto = [
|
||||
{file = "boto-2.49.0-py2.py3-none-any.whl", hash = "sha256:147758d41ae7240dc989f0039f27da8ca0d53734be0eb869ef16e3adcfa462e8"},
|
||||
{file = "boto-2.49.0.tar.gz", hash = "sha256:ea0d3b40a2d852767be77ca343b58a9e3a4b00d9db440efb8da74b4e58025e5a"},
|
||||
]
|
||||
boto3 = [
|
||||
{file = "boto3-1.17.112-py2.py3-none-any.whl", hash = "sha256:8716465313c50ad9e5c2ac1767642ca0ddf7d1729c3d5c884d82880c1a15a310"},
|
||||
{file = "boto3-1.17.112.tar.gz", hash = "sha256:08b6dacbe7ebe57ae8acfb7106b2728d946ae1e0c3da270caee1deb79ccbd8af"},
|
||||
]
|
||||
botocore = [
|
||||
{file = "botocore-1.20.112-py2.py3-none-any.whl", hash = "sha256:6d51de0981a3ef19da9e6a3c73b5ab427e3c0c8b92200ebd38d087299683dd2b"},
|
||||
{file = "botocore-1.20.112.tar.gz", hash = "sha256:d0b9b70b6eb5b65bb7162da2aaf04b6b086b15cc7ea322ddc3ef2f5e07944dcf"},
|
||||
]
|
||||
certifi = [
|
||||
{file = "certifi-2021.10.8-py2.py3-none-any.whl", hash = "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"},
|
||||
{file = "certifi-2021.10.8.tar.gz", hash = "sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872"},
|
||||
]
|
||||
cffi = [
|
||||
{file = "cffi-1.15.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:c2502a1a03b6312837279c8c1bd3ebedf6c12c4228ddbad40912d671ccc8a962"},
|
||||
{file = "cffi-1.15.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:23cfe892bd5dd8941608f93348c0737e369e51c100d03718f108bf1add7bd6d0"},
|
||||
{file = "cffi-1.15.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:41d45de54cd277a7878919867c0f08b0cf817605e4eb94093e7516505d3c8d14"},
|
||||
{file = "cffi-1.15.0-cp27-cp27m-win32.whl", hash = "sha256:4a306fa632e8f0928956a41fa8e1d6243c71e7eb59ffbd165fc0b41e316b2474"},
|
||||
{file = "cffi-1.15.0-cp27-cp27m-win_amd64.whl", hash = "sha256:e7022a66d9b55e93e1a845d8c9eba2a1bebd4966cd8bfc25d9cd07d515b33fa6"},
|
||||
{file = "cffi-1.15.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:14cd121ea63ecdae71efa69c15c5543a4b5fbcd0bbe2aad864baca0063cecf27"},
|
||||
{file = "cffi-1.15.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:d4d692a89c5cf08a8557fdeb329b82e7bf609aadfaed6c0d79f5a449a3c7c023"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0104fb5ae2391d46a4cb082abdd5c69ea4eab79d8d44eaaf79f1b1fd806ee4c2"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:91ec59c33514b7c7559a6acda53bbfe1b283949c34fe7440bcf917f96ac0723e"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:f5c7150ad32ba43a07c4479f40241756145a1f03b43480e058cfd862bf5041c7"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:00c878c90cb53ccfaae6b8bc18ad05d2036553e6d9d1d9dbcf323bbe83854ca3"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:abb9a20a72ac4e0fdb50dae135ba5e77880518e742077ced47eb1499e29a443c"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a5263e363c27b653a90078143adb3d076c1a748ec9ecc78ea2fb916f9b861962"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f54a64f8b0c8ff0b64d18aa76675262e1700f3995182267998c31ae974fbc382"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-win32.whl", hash = "sha256:c21c9e3896c23007803a875460fb786118f0cdd4434359577ea25eb556e34c55"},
|
||||
{file = "cffi-1.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:5e069f72d497312b24fcc02073d70cb989045d1c91cbd53979366077959933e0"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:64d4ec9f448dfe041705426000cc13e34e6e5bb13736e9fd62e34a0b0c41566e"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2756c88cbb94231c7a147402476be2c4df2f6078099a6f4a480d239a8817ae39"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b96a311ac60a3f6be21d2572e46ce67f09abcf4d09344c49274eb9e0bf345fc"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:75e4024375654472cc27e91cbe9eaa08567f7fbdf822638be2814ce059f58032"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:59888172256cac5629e60e72e86598027aca6bf01fa2465bdb676d37636573e8"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:27c219baf94952ae9d50ec19651a687b826792055353d07648a5695413e0c605"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-win32.whl", hash = "sha256:4958391dbd6249d7ad855b9ca88fae690783a6be9e86df65865058ed81fc860e"},
|
||||
{file = "cffi-1.15.0-cp36-cp36m-win_amd64.whl", hash = "sha256:f6f824dc3bce0edab5f427efcfb1d63ee75b6fcb7282900ccaf925be84efb0fc"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:06c48159c1abed75c2e721b1715c379fa3200c7784271b3c46df01383b593636"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c2051981a968d7de9dd2d7b87bcb9c939c74a34626a6e2f8181455dd49ed69e4"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:fd8a250edc26254fe5b33be00402e6d287f562b6a5b2152dec302fa15bb3e997"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91d77d2a782be4274da750752bb1650a97bfd8f291022b379bb8e01c66b4e96b"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:45db3a33139e9c8f7c09234b5784a5e33d31fd6907800b316decad50af323ff2"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:263cc3d821c4ab2213cbe8cd8b355a7f72a8324577dc865ef98487c1aeee2bc7"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-win32.whl", hash = "sha256:17771976e82e9f94976180f76468546834d22a7cc404b17c22df2a2c81db0c66"},
|
||||
{file = "cffi-1.15.0-cp37-cp37m-win_amd64.whl", hash = "sha256:3415c89f9204ee60cd09b235810be700e993e343a408693e80ce7f6a40108029"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-win32.whl", hash = "sha256:da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c"},
|
||||
{file = "cffi-1.15.0-cp38-cp38-win_amd64.whl", hash = "sha256:181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:45e8636704eacc432a206ac7345a5d3d2c62d95a507ec70d62f23cd91770482a"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:31fb708d9d7c3f49a60f04cf5b119aeefe5644daba1cd2a0fe389b674fd1de37"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:6dc2737a3674b3e344847c8686cf29e500584ccad76204efea14f451d4cc669a"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:74fdfdbfdc48d3f47148976f49fab3251e550a8720bebc99bf1483f5bfb5db3e"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffaa5c925128e29efbde7301d8ecaf35c8c60ffbcd6a1ffd3a552177c8e5e796"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3f7d084648d77af029acb79a0ff49a0ad7e9d09057a9bf46596dac9514dc07df"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ef1f279350da2c586a69d32fc8733092fd32cc8ac95139a00377841f59a3f8d8"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-win32.whl", hash = "sha256:2a23af14f408d53d5e6cd4e3d9a24ff9e05906ad574822a10563efcef137979a"},
|
||||
{file = "cffi-1.15.0-cp39-cp39-win_amd64.whl", hash = "sha256:3773c4d81e6e818df2efbc7dd77325ca0dcb688116050fb2b3011218eda36139"},
|
||||
{file = "cffi-1.15.0.tar.gz", hash = "sha256:920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954"},
|
||||
]
|
||||
chardet = [
|
||||
{file = "chardet-4.0.0-py2.py3-none-any.whl", hash = "sha256:f864054d66fd9118f2e67044ac8981a54775ec5b67aed0441892edb553d21da5"},
|
||||
{file = "chardet-4.0.0.tar.gz", hash = "sha256:0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"},
|
||||
]
|
||||
configparser = [
|
||||
{file = "configparser-4.0.2-py2.py3-none-any.whl", hash = "sha256:254c1d9c79f60c45dfde850850883d5aaa7f19a23f13561243a050d5a7c3fe4c"},
|
||||
{file = "configparser-4.0.2.tar.gz", hash = "sha256:c7d282687a5308319bf3d2e7706e575c635b0a470342641c93bea0ea3b5331df"},
|
||||
]
|
||||
contextlib2 = [
|
||||
{file = "contextlib2-0.6.0.post1-py2.py3-none-any.whl", hash = "sha256:3355078a159fbb44ee60ea80abd0d87b80b78c248643b49aa6d94673b413609b"},
|
||||
{file = "contextlib2-0.6.0.post1.tar.gz", hash = "sha256:01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e"},
|
||||
]
|
||||
cryptography = [
|
||||
{file = "cryptography-3.3.2-cp27-cp27m-macosx_10_10_x86_64.whl", hash = "sha256:541dd758ad49b45920dda3b5b48c968f8b2533d8981bcdb43002798d8f7a89ed"},
|
||||
{file = "cryptography-3.3.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:49570438e60f19243e7e0d504527dd5fe9b4b967b5a1ff21cc12b57602dd85d3"},
|
||||
{file = "cryptography-3.3.2-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:a9a4ac9648d39ce71c2f63fe7dc6db144b9fa567ddfc48b9fde1b54483d26042"},
|
||||
{file = "cryptography-3.3.2-cp27-cp27m-win32.whl", hash = "sha256:aa4969f24d536ae2268c902b2c3d62ab464b5a66bcb247630d208a79a8098e9b"},
|
||||
{file = "cryptography-3.3.2-cp27-cp27m-win_amd64.whl", hash = "sha256:1bd0ccb0a1ed775cd7e2144fe46df9dc03eefd722bbcf587b3e0616ea4a81eff"},
|
||||
{file = "cryptography-3.3.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:e18e6ab84dfb0ab997faf8cca25a86ff15dfea4027b986322026cc99e0a892da"},
|
||||
{file = "cryptography-3.3.2-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:c7390f9b2119b2b43160abb34f63277a638504ef8df99f11cb52c1fda66a2e6f"},
|
||||
{file = "cryptography-3.3.2-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:0d7b69674b738068fa6ffade5c962ecd14969690585aaca0a1b1fc9058938a72"},
|
||||
{file = "cryptography-3.3.2-cp36-abi3-manylinux1_x86_64.whl", hash = "sha256:922f9602d67c15ade470c11d616f2b2364950602e370c76f0c94c94ae672742e"},
|
||||
{file = "cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl", hash = "sha256:a0f0b96c572fc9f25c3f4ddbf4688b9b38c69836713fb255f4a2715d93cbaf44"},
|
||||
{file = "cryptography-3.3.2-cp36-abi3-manylinux2014_aarch64.whl", hash = "sha256:a777c096a49d80f9d2979695b835b0f9c9edab73b59e4ceb51f19724dda887ed"},
|
||||
{file = "cryptography-3.3.2-cp36-abi3-win32.whl", hash = "sha256:3c284fc1e504e88e51c428db9c9274f2da9f73fdf5d7e13a36b8ecb039af6e6c"},
|
||||
{file = "cryptography-3.3.2-cp36-abi3-win_amd64.whl", hash = "sha256:7951a966613c4211b6612b0352f5bf29989955ee592c4a885d8c7d0f830d0433"},
|
||||
{file = "cryptography-3.3.2.tar.gz", hash = "sha256:5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed"},
|
||||
]
|
||||
datadog = [
|
||||
{file = "datadog-0.42.0-py2.py3-none-any.whl", hash = "sha256:140b51f5db3f46d6f3ec022c05830c6b3e13e4f62c19c823e1227ac322b26667"},
|
||||
{file = "datadog-0.42.0.tar.gz", hash = "sha256:7a6fac17a7d09f1883ab9a45ce4ff7a16aa1a5eb3cc4c6cddac7f8c53e7d1e9b"},
|
||||
]
|
||||
enum34 = [
|
||||
{file = "enum34-1.1.10-py2-none-any.whl", hash = "sha256:a98a201d6de3f2ab3db284e70a33b0f896fbf35f8086594e8c9e74b909058d53"},
|
||||
{file = "enum34-1.1.10-py3-none-any.whl", hash = "sha256:c3858660960c984d6ab0ebad691265180da2b43f07e061c0f8dca9ef3cffd328"},
|
||||
{file = "enum34-1.1.10.tar.gz", hash = "sha256:cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248"},
|
||||
]
|
||||
futures = [
|
||||
{file = "futures-3.3.0-py2-none-any.whl", hash = "sha256:49b3f5b064b6e3afc3316421a3f25f66c137ae88f068abbf72830170033c5e16"},
|
||||
{file = "futures-3.3.0.tar.gz", hash = "sha256:7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794"},
|
||||
]
|
||||
hetzner = [
|
||||
{file = "hetzner-0.8.3.tar.gz", hash = "sha256:9a43dbbeb4a1f3efc86c5fe1c1d7039aaa635dfdb829506ec3aa34382d3a7114"},
|
||||
]
|
||||
idna = [
|
||||
{file = "idna-2.10-py2.py3-none-any.whl", hash = "sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0"},
|
||||
{file = "idna-2.10.tar.gz", hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"},
|
||||
]
|
||||
importlib-metadata = [
|
||||
{file = "importlib_metadata-2.1.2-py2.py3-none-any.whl", hash = "sha256:cd6a92d78385dd145f5f233b3a6919acf5e8e43922aa9b9dbe78573e3540eb56"},
|
||||
{file = "importlib_metadata-2.1.2.tar.gz", hash = "sha256:09db40742204610ef6826af16e49f0479d11d0d54687d0169ff7fddf8b3f557f"},
|
||||
]
|
||||
ipaddress = [
|
||||
{file = "ipaddress-1.0.23-py2.py3-none-any.whl", hash = "sha256:6e0f4a39e66cb5bb9a137b00276a2eff74f93b71dcbdad6f10ff7df9d3557fcc"},
|
||||
{file = "ipaddress-1.0.23.tar.gz", hash = "sha256:b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2"},
|
||||
]
|
||||
jmespath = [
|
||||
{file = "jmespath-0.10.0-py2.py3-none-any.whl", hash = "sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"},
|
||||
{file = "jmespath-0.10.0.tar.gz", hash = "sha256:b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9"},
|
||||
]
|
||||
jsonpickle = [
|
||||
{file = "jsonpickle-2.0.0-py2.py3-none-any.whl", hash = "sha256:c1010994c1fbda87a48f8a56698605b598cb0fc6bb7e7927559fc1100e69aeac"},
|
||||
{file = "jsonpickle-2.0.0.tar.gz", hash = "sha256:0be49cba80ea6f87a168aa8168d717d00c6ca07ba83df3cec32d3b30bfe6fb9a"},
|
||||
]
|
||||
pathlib2 = [
|
||||
{file = "pathlib2-2.3.6-py2.py3-none-any.whl", hash = "sha256:3a130b266b3a36134dcc79c17b3c7ac9634f083825ca6ea9d8f557ee6195c9c8"},
|
||||
{file = "pathlib2-2.3.6.tar.gz", hash = "sha256:7d8bcb5555003cdf4a8d2872c538faa3a0f5d20630cb360e518ca3b981795e5f"},
|
||||
]
|
||||
prettytable = [
|
||||
{file = "prettytable-1.0.1-py2.py3-none-any.whl", hash = "sha256:e7e464e8f7ecfd9a74c67f8da35f2a7da3d827235ba0a4737bb6d4b19f4a04bb"},
|
||||
{file = "prettytable-1.0.1.tar.gz", hash = "sha256:6bb7f539903cb031fecb855b615cbcac8cd245ebc6fa51c6e23ab3386db89771"},
|
||||
]
|
||||
pycparser = [
|
||||
{file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"},
|
||||
{file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"},
|
||||
]
|
||||
pyjwt = [
|
||||
{file = "PyJWT-1.7.1-py2.py3-none-any.whl", hash = "sha256:5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e"},
|
||||
{file = "PyJWT-1.7.1.tar.gz", hash = "sha256:8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96"},
|
||||
]
|
||||
pysqlite = [
|
||||
{file = "pysqlite-2.8.3.tar.gz", hash = "sha256:17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490"},
|
||||
]
|
||||
python-dateutil = [
|
||||
{file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"},
|
||||
{file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"},
|
||||
]
|
||||
python-digitalocean = [
|
||||
{file = "python-digitalocean-1.17.0.tar.gz", hash = "sha256:107854fde1aafa21774e8053cf253b04173613c94531f75d5a039ad770562b24"},
|
||||
{file = "python_digitalocean-1.17.0-py3-none-any.whl", hash = "sha256:0032168e022e85fca314eb3f8dfaabf82087f2ed40839eb28f1eeeeca5afb1fa"},
|
||||
]
|
||||
requests = [
|
||||
{file = "requests-2.27.1-py2.py3-none-any.whl", hash = "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"},
|
||||
{file = "requests-2.27.1.tar.gz", hash = "sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61"},
|
||||
]
|
||||
s3transfer = [
|
||||
{file = "s3transfer-0.4.2-py2.py3-none-any.whl", hash = "sha256:9b3752887a2880690ce628bc263d6d13a3864083aeacff4890c1c9839a5eb0bc"},
|
||||
{file = "s3transfer-0.4.2.tar.gz", hash = "sha256:cb022f4b16551edebbb31a377d3f09600dbada7363d8c5db7976e7f47732e1b2"},
|
||||
]
|
||||
scandir = [
|
||||
{file = "scandir-1.10.0-cp27-cp27m-win32.whl", hash = "sha256:92c85ac42f41ffdc35b6da57ed991575bdbe69db895507af88b9f499b701c188"},
|
||||
{file = "scandir-1.10.0-cp27-cp27m-win_amd64.whl", hash = "sha256:cb925555f43060a1745d0a321cca94bcea927c50114b623d73179189a4e100ac"},
|
||||
{file = "scandir-1.10.0-cp34-cp34m-win32.whl", hash = "sha256:2c712840c2e2ee8dfaf36034080108d30060d759c7b73a01a52251cc8989f11f"},
|
||||
{file = "scandir-1.10.0-cp34-cp34m-win_amd64.whl", hash = "sha256:2586c94e907d99617887daed6c1d102b5ca28f1085f90446554abf1faf73123e"},
|
||||
{file = "scandir-1.10.0-cp35-cp35m-win32.whl", hash = "sha256:2b8e3888b11abb2217a32af0766bc06b65cc4a928d8727828ee68af5a967fa6f"},
|
||||
{file = "scandir-1.10.0-cp35-cp35m-win_amd64.whl", hash = "sha256:8c5922863e44ffc00c5c693190648daa6d15e7c1207ed02d6f46a8dcc2869d32"},
|
||||
{file = "scandir-1.10.0-cp36-cp36m-win32.whl", hash = "sha256:2ae41f43797ca0c11591c0c35f2f5875fa99f8797cb1a1fd440497ec0ae4b022"},
|
||||
{file = "scandir-1.10.0-cp36-cp36m-win_amd64.whl", hash = "sha256:7d2d7a06a252764061a020407b997dd036f7bd6a175a5ba2b345f0a357f0b3f4"},
|
||||
{file = "scandir-1.10.0-cp37-cp37m-win32.whl", hash = "sha256:67f15b6f83e6507fdc6fca22fedf6ef8b334b399ca27c6b568cbfaa82a364173"},
|
||||
{file = "scandir-1.10.0-cp37-cp37m-win_amd64.whl", hash = "sha256:b24086f2375c4a094a6b51e78b4cf7ca16c721dcee2eddd7aa6494b42d6d519d"},
|
||||
{file = "scandir-1.10.0.tar.gz", hash = "sha256:4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae"},
|
||||
]
|
||||
six = [
|
||||
{file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
|
||||
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
||||
]
|
||||
typing = [
|
||||
{file = "typing-3.10.0.0-py2-none-any.whl", hash = "sha256:c7219ef20c5fbf413b4567092adfc46fa6203cb8454eda33c3fc1afe1398a308"},
|
||||
{file = "typing-3.10.0.0-py3-none-any.whl", hash = "sha256:12fbdfbe7d6cca1a42e485229afcb0b0c8259258cfb919b8a5e2a5c953742f89"},
|
||||
{file = "typing-3.10.0.0.tar.gz", hash = "sha256:13b4ad211f54ddbf93e5901a9967b1e07720c1d1b78d596ac6a439641aa1b130"},
|
||||
]
|
||||
urllib3 = [
|
||||
{file = "urllib3-1.26.8-py2.py3-none-any.whl", hash = "sha256:000ca7f471a233c2251c6c7023ee85305721bfdf18621ebff4fd17a8653427ed"},
|
||||
{file = "urllib3-1.26.8.tar.gz", hash = "sha256:0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"},
|
||||
]
|
||||
wcwidth = [
|
||||
{file = "wcwidth-0.2.5-py2.py3-none-any.whl", hash = "sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784"},
|
||||
{file = "wcwidth-0.2.5.tar.gz", hash = "sha256:c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83"},
|
||||
]
|
||||
zipp = [
|
||||
{file = "zipp-1.2.0-py2.py3-none-any.whl", hash = "sha256:e0d9e63797e483a30d27e09fffd308c59a700d365ec34e93cc100844168bf921"},
|
||||
{file = "zipp-1.2.0.tar.gz", hash = "sha256:c70410551488251b0fee67b460fb9a536af8d6f9f008ad10ac51f615b6a521b1"},
|
||||
]
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue