Merge master into staging-next
This commit is contained in:
commit
c3e778703c
4 changed files with 54 additions and 5 deletions
|
@ -2,14 +2,14 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "flexget";
|
||||
version = "3.1.135";
|
||||
version = "3.1.136";
|
||||
|
||||
# Fetch from GitHub in order to use `requirements.in`
|
||||
src = fetchFromGitHub {
|
||||
owner = "flexget";
|
||||
repo = "flexget";
|
||||
rev = "v${version}";
|
||||
sha256 = "01qj9pp3b7qxpv1yzak4ql1d95dq6611crpp4y5z44mg5gmbql7g";
|
||||
sha256 = "058sja2miwhr6lx5j8r9d97k4ywh6dsxd05nb5w19z6a0sq1vmyb";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
47
pkgs/servers/http/ran/default.nix
Normal file
47
pkgs/servers/http/ran/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, runCommand
|
||||
, ran
|
||||
, curl
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ran";
|
||||
version = "0.1.6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "m3ng9i";
|
||||
repo = "ran";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iMvUvzr/jaTNdgHQFuoJNJnnkx2XHIUUlrPWyTlreEw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-ObroruWWNilHIclqNvbEaa7vwk+1zMzDKbjlVs7Fito=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
ldflags = [
|
||||
"-X" "main._version_=v${version}"
|
||||
"-X" "main._branch_=master"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
simple = runCommand "ran-test" { } ''
|
||||
echo hello world > index.html
|
||||
${ran}/bin/ran &
|
||||
# Allow ran to fully initialize
|
||||
sleep 1
|
||||
[ "$(${curl}/bin/curl 127.0.0.1:8080)" == "hello world" ]
|
||||
kill %1
|
||||
${ran}/bin/ran --version > $out
|
||||
'';
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/m3ng9i/ran";
|
||||
description = "Ran is a simple web server for serving static files";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tomberek ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ntfs3g";
|
||||
version = "2017.3.23";
|
||||
version = "2021.8.22";
|
||||
|
||||
outputs = [ "out" "dev" "man" "doc" ];
|
||||
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://tuxera.com/opensource/ntfs-3g_ntfsprogs-${version}.tgz";
|
||||
sha256 = "1mb228p80hv97pgk3myyvgp975r9mxq56c6bdn1n24kngcfh4niy";
|
||||
sha256 = "55b883aa05d94b2ec746ef3966cb41e66bed6db99f22ddd41d1b8b94bb202efb";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.tuxera.com/community/open-source-ntfs-3g/";
|
||||
homepage = "https://github.com/tuxera/ntfs-3g";
|
||||
description = "FUSE-based NTFS driver with full write support";
|
||||
maintainers = with maintainers; [ dezgeg ];
|
||||
platforms = with platforms; darwin ++ linux;
|
||||
|
|
|
@ -14373,6 +14373,8 @@ with pkgs;
|
|||
lua = lua5;
|
||||
} // (config.radare or {}));
|
||||
|
||||
ran = callPackage ../servers/http/ran { };
|
||||
|
||||
retry = callPackage ../tools/system/retry { };
|
||||
|
||||
rizin = pkgs.callPackage ../development/tools/analysis/rizin { };
|
||||
|
|
Loading…
Reference in a new issue