mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 21:37:25 +00:00
Merge staging-next into staging
This commit is contained in:
commit
049ba92990
25
pkgs/applications/audio/airwindows-lv2/default.nix
Normal file
25
pkgs/applications/audio/airwindows-lv2/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, lv2 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "airwindows-lv2";
|
||||||
|
version = "1.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hannesbraun";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-xokV4Af0evdo73D9JObzAmY1wD0aUyXiI0Z7BUN0m+M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
buildInputs = [ lv2 ];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/lib/lv2" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Airwindows plugins (ported to LV2)";
|
||||||
|
homepage = "https://github.com/hannesbraun/airwindows-lv2";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.magnetophon ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "logseq";
|
pname = "logseq";
|
||||||
version = "0.6.5";
|
version = "0.6.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage";
|
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage";
|
||||||
sha256 = "WKROcCv0IzRnQd74j5Iget5jlfyDbeJ/PXgZmSNrSsQ=";
|
sha256 = "r6IBvhA8H8XnMIBgZZodyU61xtqNA4N9kCRv/QWQc9M=";
|
||||||
name = "${pname}-${version}.AppImage";
|
name = "${pname}-${version}.AppImage";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -90,11 +90,11 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "brave";
|
pname = "brave";
|
||||||
version = "1.38.109";
|
version = "1.38.111";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
||||||
sha256 = "sha256-w/Wm8msW4etF6E1UDujLfixhxmKBcnB+uw/CMcj4jGI=";
|
sha256 = "sha256-sUTQktCQOVyXbw58u9ilFZaKg6D24Okpa+rUIO56ors=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
, which
|
, which
|
||||||
, libvirt
|
, libvirt
|
||||||
, vmnet
|
, vmnet
|
||||||
|
, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -24,7 +25,7 @@ buildGoModule rec {
|
|||||||
sha256 = "sha256-WIk4ibq7jcqao0Qiz3mz9yfHdxTUlvtPuEh4gApSDBg=";
|
sha256 = "sha256-WIk4ibq7jcqao0Qiz3mz9yfHdxTUlvtPuEh4gApSDBg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles pkg-config which ];
|
nativeBuildInputs = [ installShellFiles pkg-config which makeWrapper ];
|
||||||
|
|
||||||
buildInputs = if stdenv.isDarwin then [ vmnet ] else if stdenv.isLinux then [ libvirt ] else null;
|
buildInputs = if stdenv.isDarwin then [ vmnet ] else if stdenv.isLinux then [ libvirt ] else null;
|
||||||
|
|
||||||
@ -35,9 +36,8 @@ buildGoModule rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
install out/minikube -Dt $out/bin
|
install out/minikube -Dt $out/bin
|
||||||
|
|
||||||
|
wrapProgram $out/bin/minikube --set MINIKUBE_WANTUPDATENOTIFICATION false
|
||||||
export HOME=$PWD
|
export HOME=$PWD
|
||||||
export MINIKUBE_WANTUPDATENOTIFICATION=false
|
|
||||||
export MINIKUBE_WANTKUBECTLDOWNLOADMSG=false
|
|
||||||
|
|
||||||
for shell in bash zsh fish; do
|
for shell in bash zsh fish; do
|
||||||
$out/bin/minikube completion $shell > minikube.$shell
|
$out/bin/minikube completion $shell > minikube.$shell
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "flexget";
|
pname = "flexget";
|
||||||
version = "3.3.8";
|
version = "3.3.9";
|
||||||
|
|
||||||
# Fetch from GitHub in order to use `requirements.in`
|
# Fetch from GitHub in order to use `requirements.in`
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "flexget";
|
owner = "flexget";
|
||||||
repo = "flexget";
|
repo = "flexget";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-ZGs5ixNcrkoZ4TRVuIUeNF1FNJwKpYElNv6oPhGiEmU=";
|
hash = "sha256-29V22B1Nkgj/qc6uyAOSOZ1rrjjtf75I9Eycu8I5ysQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
25
pkgs/desktops/lxde/default.nix
Normal file
25
pkgs/desktops/lxde/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ config, lib, pkgs }:
|
||||||
|
|
||||||
|
lib.makeScope pkgs.newScope (self: with self; {
|
||||||
|
|
||||||
|
inherit (pkgs) gtk2-x11;
|
||||||
|
|
||||||
|
lxappearance = callPackage ./core/lxappearance { };
|
||||||
|
|
||||||
|
lxappearance-gtk2 = callPackage ./core/lxappearance {
|
||||||
|
gtk2 = gtk2-x11;
|
||||||
|
withGtk3 = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
lxmenu-data = callPackage ./core/lxmenu-data { };
|
||||||
|
|
||||||
|
lxpanel = callPackage ./core/lxpanel {
|
||||||
|
gtk2 = gtk2-x11;
|
||||||
|
};
|
||||||
|
|
||||||
|
lxrandr = callPackage ./core/lxrandr { };
|
||||||
|
|
||||||
|
lxsession = callPackage ./core/lxsession { };
|
||||||
|
|
||||||
|
lxtask = callPackage ./core/lxtask { };
|
||||||
|
})
|
@ -3,11 +3,11 @@
|
|||||||
, withContrib ? true }:
|
, withContrib ? true }:
|
||||||
|
|
||||||
let
|
let
|
||||||
versionPkg = "0.4.1" ;
|
versionPkg = "0.4.2";
|
||||||
|
|
||||||
contrib = fetchurl {
|
contrib = fetchurl {
|
||||||
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-contrib-${versionPkg}.tgz";
|
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-contrib-${versionPkg}.tgz";
|
||||||
sha256 = "184m4hz2xszhcfc6w9fw9qibhmcvgjmikwfwkb345xypr59jm93d";
|
hash = "sha256-m0hfBLsaNiLaIktcioK+ZtWUsWht3IDSJ6CzgJmS06c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstallContrib = lib.optionalString withContrib
|
postInstallContrib = lib.optionalString withContrib
|
||||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-gmp-${version}.tgz";
|
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-gmp-${version}.tgz";
|
||||||
sha256 = "0c4nqp6yzmpj0mcpg7ibmwyqi8hjw3sza8myvy4nzq3fa6wldy5l";
|
hash = "sha256-UWgDjFojPBYgykrCrJyYvVWY+Gc5d4aRGjTWjc528AM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gmp ];
|
buildInputs = [ gmp ];
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyrogram";
|
pname = "pyrogram";
|
||||||
version = "2.0.16";
|
version = "2.0.17";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
owner = "pyrogram";
|
owner = "pyrogram";
|
||||||
repo = "pyrogram";
|
repo = "pyrogram";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-uRGLk8XTHimKtkVjPPe2ohTPv3UiaxmkRywQY4iPHyg=";
|
hash = "sha256-MzbZVG6/+YirgKsfrsSaT6jS0fTq/TBhlduZzgQKU+M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -24,14 +24,17 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
httpx
|
|
||||||
requests
|
requests
|
||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.extras-require = {
|
||||||
|
httpx = [ httpx ];
|
||||||
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
] ++ passthru.extras-require.httpx;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"requests_aws4auth"
|
"requests_aws4auth"
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "buildkit";
|
pname = "buildkit";
|
||||||
version = "0.10.1";
|
version = "0.10.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "moby";
|
owner = "moby";
|
||||||
repo = "buildkit";
|
repo = "buildkit";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-qMSXz4ZJ0po+Qi/K3Q/51MgHBO4tOa+DHw6Ok0yYc+k=";
|
sha256 = "sha256-hZINmKzLB0nFVVP8eXK2ghe4Emmuq55w0vDwLw8XuJk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
@ -1,25 +1,29 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, testers, aws-rotate-key }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "aws-rotate-key";
|
pname = "aws-rotate-key";
|
||||||
version = "1.0.6";
|
version = "1.0.8";
|
||||||
|
|
||||||
goPackagePath = "github.com/Fullscreen/aws-rotate-key";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
|
||||||
owner = "Fullscreen";
|
owner = "Fullscreen";
|
||||||
repo = "aws-rotate-key";
|
repo = "aws-rotate-key";
|
||||||
sha256 = "1w9704g1l2b0y6g6mk79g28kk0yaswpgljkk85d0i10wyxq4icby";
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-5kV87uQDSc/qpm79Pd2nXo/EcbMlhZqFYaw+gJQa2uo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
vendorSha256 = "sha256-h7tmJx/Um1Cy/ojiFjoKCH/LcOwhGU8ADb5WwmrkkJM=";
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = aws-rotate-key;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Easily rotate your AWS key";
|
description = "Easily rotate your AWS key";
|
||||||
homepage = "https://github.com/Fullscreen/aws-rotate-key";
|
homepage = "https://github.com/Fullscreen/aws-rotate-key";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [maintainers.mbode];
|
maintainers = [ maintainers.mbode ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
29
pkgs/tools/admin/aws-rotate-key/deps.nix
generated
29
pkgs/tools/admin/aws-rotate-key/deps.nix
generated
@ -1,29 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
goPackagePath = "github.com/go-ini/ini";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://github.com/go-ini/ini";
|
|
||||||
rev = "af26abd521cd7697481572fdbc4a53cbea3dde1b";
|
|
||||||
sha256 = "1yribbqy9i4i70dfg3yrjhkn3n0fywpr3kismn2mvi882mm01pxz";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
goPackagePath = "github.com/jmespath/go-jmespath";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://github.com/jmespath/go-jmespath";
|
|
||||||
rev = "c2b33e8439af944379acbdd9c3a5fe0bc44bd8a5";
|
|
||||||
sha256 = "1r6w7ydx8ydryxk3sfhzsk8m6f1nsik9jg3i1zhi69v4kfl4d5cz";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
goPackagePath = "github.com/aws/aws-sdk-go";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://github.com/aws/aws-sdk-go";
|
|
||||||
rev = "f844700ba2a387dfee7ab3679e7544b5dbd6d394";
|
|
||||||
sha256 = "0s9100bzqj58nnax3dxfgi5qr4rbaa53cb0cj3s58k9jc9z6270m";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
|
@ -1,64 +1,69 @@
|
|||||||
{ lib, fetchFromGitHub, python }:
|
{ lib, fetchFromGitHub, python3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
py = python.override {
|
python = python3.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
click = super.click.overridePythonAttrs (oldAttrs: rec {
|
click = super.click.overridePythonAttrs (old: rec {
|
||||||
version = "6.7";
|
version = "7.1.2";
|
||||||
src = oldAttrs.src.override {
|
src = old.src.override {
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b";
|
sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a";
|
||||||
};
|
};
|
||||||
doCheck = false;
|
});
|
||||||
postPatch = "";
|
requests-aws4auth = super.requests-aws4auth.overridePythonAttrs (old: {
|
||||||
});
|
doCheck = false; # requires click>=8.0
|
||||||
|
});
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
in python.pkgs.buildPythonApplication rec {
|
||||||
in
|
|
||||||
|
|
||||||
with py.pkgs;
|
|
||||||
buildPythonApplication rec {
|
|
||||||
pname = "elasticsearch-curator";
|
pname = "elasticsearch-curator";
|
||||||
version = "5.8.1";
|
version = "5.8.4";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elastic";
|
owner = "elastic";
|
||||||
repo = "curator";
|
repo = "curator";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1shr9jslirjnbvma3p19djsnamxl7f3m9c8zrlclk57zv8rnwpkr";
|
hash = "sha256-wSfd52jebUkgF5xhjcoUjI7j46eJF33pVb4Wrybq44g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The test hangs so we disable it.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
click
|
|
||||||
certifi
|
|
||||||
requests-aws4auth
|
|
||||||
pyopenssl
|
|
||||||
voluptuous
|
|
||||||
pyyaml
|
|
||||||
elasticsearch
|
|
||||||
boto3
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [
|
|
||||||
nosexcover
|
|
||||||
coverage
|
|
||||||
nose
|
|
||||||
mock
|
|
||||||
funcsigs
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i s/pyyaml==3.13/pyyaml/g setup.cfg setup.py
|
|
||||||
sed -i s/pyyaml==3.12/pyyaml/g setup.cfg setup.py
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "urllib3>=1.24.2,<1.25" "urllib3"
|
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace "urllib3>=1.24.2,<1.25" "urllib3"
|
--replace "urllib3==1.26.4" "urllib3"
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "urllib3==1.26.4" "urllib3" \
|
||||||
|
--replace "pyyaml==5.4.1" "pyyaml"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
|
elasticsearch
|
||||||
|
urllib3
|
||||||
|
requests
|
||||||
|
boto3
|
||||||
|
requests-aws4auth
|
||||||
|
click
|
||||||
|
pyyaml
|
||||||
|
voluptuous
|
||||||
|
certifi
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = with python.pkgs; [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
"test/integration" # requires running elasticsearch
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# access network
|
||||||
|
"test_api_key_not_set"
|
||||||
|
"test_api_key_set"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/elastic/curator";
|
homepage = "https://github.com/elastic/curator";
|
||||||
description = "Curate, or manage, your Elasticsearch indices and snapshots";
|
description = "Curate, or manage, your Elasticsearch indices and snapshots";
|
||||||
@ -76,8 +81,5 @@ buildPythonApplication rec {
|
|||||||
* Perform various actions on the items which remain in the actionable list.
|
* Perform various actions on the items which remain in the actionable list.
|
||||||
'';
|
'';
|
||||||
maintainers = with maintainers; [ basvandijk ];
|
maintainers = with maintainers; [ basvandijk ];
|
||||||
|
|
||||||
# https://github.com/elastic/curator/pull/1280
|
|
||||||
#broken = versionAtLeast click.version "7.0";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,33 +1,32 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "exoscale-cli";
|
pname = "exoscale-cli";
|
||||||
version = "1.52.1";
|
version = "1.54.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "exoscale";
|
owner = "exoscale";
|
||||||
repo = "cli";
|
repo = "cli";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-CSltvSdKLAH711ubT6ROgkmq2EcFJplPmavsJa9xupM=";
|
sha256 = "sha256-uvPJ1cOKMpDf1KfEPkSTWMIMNojUlfpqI1ESomX1MlM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/exoscale/cli";
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
excludedPackages = [ "./completion" "./docs" ];
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}" ];
|
ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}" ];
|
||||||
|
|
||||||
# ensures only the cli binary is built and we don't clutter bin/ with submodules
|
|
||||||
subPackages = [ "." ];
|
|
||||||
|
|
||||||
# we need to rename the resulting binary but can't use buildFlags with -o here
|
# we need to rename the resulting binary but can't use buildFlags with -o here
|
||||||
# because these are passed to "go install" which does not recognize -o
|
# because these are passed to "go install" which does not recognize -o
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
mv go/bin/cli go/bin/exo
|
mv $GOPATH/bin/cli $GOPATH/bin/exo
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Command-line tool for everything at Exoscale: compute, storage, dns";
|
description = "Command-line tool for everything at Exoscale: compute, storage, dns";
|
||||||
homepage = "https://github.com/exoscale/cli";
|
homepage = "https://github.com/exoscale/cli";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ dramaturg ];
|
maintainers = with lib.maintainers; [ dramaturg ];
|
||||||
mainProgram = "exo";
|
mainProgram = "exo";
|
||||||
};
|
};
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "abcMIDI";
|
pname = "abcMIDI";
|
||||||
version = "2022.04.28";
|
version = "2022.05.05";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip";
|
url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip";
|
||||||
hash = "sha256-a/zFCxdy+GTh5daZO7QBHWeeJ1dead3Dn7dk02jBnc0=";
|
hash = "sha256-QGCws+S6Mfv0uQcfKg2DbRWS34UAeG17Z+YAyswVAFc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "autorestic";
|
pname = "autorestic";
|
||||||
version = "1.5.8";
|
version = "1.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cupcakearmy";
|
owner = "cupcakearmy";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-0eq2u3DCNgfxsiE4lycf+xGIoEC3sZgEMha9+40j+9s=";
|
sha256 = "sha256-UUK5C26wM8LKQ7TE6DWEfzq+uPXH09B2Nybkfuqk+1o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-qYXdRpQT7x+Y5h8PuKGjsANXLqjNlsPKO76GQhnufTU=";
|
vendorSha256 = "sha256-eB24vCElnnk3EMKniCblmeRsFk0BQ0wFeBf0B8OPanE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
@ -27,6 +27,6 @@ buildGoModule rec {
|
|||||||
homepage = "https://github.com/cupcakearmy/autorestic";
|
homepage = "https://github.com/cupcakearmy/autorestic";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ renesat ];
|
maintainers = with maintainers; [ renesat ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
mainProgram = "autorestic";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
{ lib, python2Packages, fetchFromGitHub }:
|
{ lib, python3Packages, fetchFromGitHub }:
|
||||||
|
|
||||||
let
|
python3Packages.buildPythonApplication rec {
|
||||||
version = "3.13";
|
|
||||||
pname = "ps_mem";
|
pname = "ps_mem";
|
||||||
in python2Packages.buildPythonApplication {
|
version = "3.13";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pixelb";
|
owner = "pixelb";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl, openssl, libcap, curl, which
|
{ lib, stdenv, fetchurl, openssl, libcap, curl, which
|
||||||
, eventlog, pkg-config, glib, python2, systemd, perl
|
, eventlog, pkg-config, glib, python3, systemd, perl
|
||||||
, riemann_c_client, protobufc, pcre, libnet
|
, riemann_c_client, protobufc, pcre, libnet
|
||||||
, json_c, libuuid, libivykis, mongoc, rabbitmq-c
|
, json_c, libuuid, libivykis, mongoc, rabbitmq-c
|
||||||
, libesmtp
|
, libesmtp
|
||||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
eventlog
|
eventlog
|
||||||
glib
|
glib
|
||||||
perl
|
perl
|
||||||
python2
|
python3
|
||||||
systemd
|
systemd
|
||||||
riemann_c_client
|
riemann_c_client
|
||||||
protobufc
|
protobufc
|
||||||
|
@ -45,8 +45,12 @@ in stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
install -Dm755 bb.sh $out/bin/bashblog
|
install -Dm755 bb.sh $out/bin/bashblog
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "codesearch";
|
pname = "codesearch";
|
||||||
version = "1.0.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/google/codesearch";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "codesearch";
|
repo = "codesearch";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-3kJ/JT89krbIvprWayBL4chUmT77Oa1W13UNCr4fe4k=";
|
sha256 = "sha256-i03w8PZ31j5EutUZaamZsHz+z4qgX4prePbj5DLA78s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fast, indexed regexp search over large file trees";
|
description = "Fast, indexed regexp search over large file trees";
|
||||||
homepage = "https://github.com/google/codesearch";
|
homepage = "https://github.com/google/codesearch";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, python2 }:
|
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "opencc";
|
pname = "opencc";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-q/y4tRov/BYCAiE4i7fT6ysTerxxOHMZUWT2Jlo/0rI=";
|
sha256 = "sha256-q/y4tRov/BYCAiE4i7fT6ysTerxxOHMZUWT2Jlo/0rI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python2 ];
|
nativeBuildInputs = [ cmake python3 ];
|
||||||
|
|
||||||
# let intermediate tools find intermediate library
|
# let intermediate tools find intermediate library
|
||||||
preBuild = lib.optionalString stdenv.isLinux ''
|
preBuild = lib.optionalString stdenv.isLinux ''
|
||||||
|
@ -161,7 +161,9 @@ with pkgs;
|
|||||||
autoconf = autoconf269;
|
autoconf = autoconf269;
|
||||||
};
|
};
|
||||||
|
|
||||||
autorestic = callPackage ../tools/backup/autorestic { };
|
autorestic = callPackage ../tools/backup/autorestic {
|
||||||
|
buildGoModule = buildGo118Module;
|
||||||
|
};
|
||||||
|
|
||||||
autoPatchelfHook = makeSetupHook {
|
autoPatchelfHook = makeSetupHook {
|
||||||
name = "auto-patchelf-hook";
|
name = "auto-patchelf-hook";
|
||||||
@ -1092,6 +1094,8 @@ with pkgs;
|
|||||||
|
|
||||||
airspyhf = callPackage ../applications/radio/airspyhf { };
|
airspyhf = callPackage ../applications/radio/airspyhf { };
|
||||||
|
|
||||||
|
airwindows-lv2 = callPackage ../applications/audio/airwindows-lv2 { };
|
||||||
|
|
||||||
aj-snapshot = callPackage ../applications/audio/aj-snapshot { };
|
aj-snapshot = callPackage ../applications/audio/aj-snapshot { };
|
||||||
|
|
||||||
ajour = callPackage ../tools/games/ajour {
|
ajour = callPackage ../tools/games/ajour {
|
||||||
@ -5583,9 +5587,7 @@ with pkgs;
|
|||||||
elasticsearch = elasticsearch7;
|
elasticsearch = elasticsearch7;
|
||||||
};
|
};
|
||||||
|
|
||||||
elasticsearch-curator = callPackage ../tools/admin/elasticsearch-curator {
|
elasticsearch-curator = callPackage ../tools/admin/elasticsearch-curator { };
|
||||||
python = python3;
|
|
||||||
};
|
|
||||||
|
|
||||||
embree = callPackage ../development/libraries/embree { };
|
embree = callPackage ../development/libraries/embree { };
|
||||||
embree2 = callPackage ../development/libraries/embree/2.x.nix { };
|
embree2 = callPackage ../development/libraries/embree/2.x.nix { };
|
||||||
@ -32502,24 +32504,17 @@ with pkgs;
|
|||||||
|
|
||||||
### DESKTOPS/LXDE
|
### DESKTOPS/LXDE
|
||||||
|
|
||||||
lxappearance = callPackage ../desktops/lxde/core/lxappearance { };
|
lxde = recurseIntoAttrs (callPackage ../desktops/lxde { });
|
||||||
|
# Backwards compatibility aliases
|
||||||
lxappearance-gtk2 = callPackage ../desktops/lxde/core/lxappearance {
|
inherit (lxde)
|
||||||
gtk2 = gtk2-x11;
|
lxappearance
|
||||||
withGtk3 = false;
|
lxappearance-gtk2
|
||||||
};
|
lxmenu-data
|
||||||
|
lxpanel
|
||||||
lxmenu-data = callPackage ../desktops/lxde/core/lxmenu-data.nix { };
|
lxrandr
|
||||||
|
lxsession
|
||||||
lxpanel = callPackage ../desktops/lxde/core/lxpanel {
|
lxtask
|
||||||
gtk2 = gtk2-x11;
|
;
|
||||||
};
|
|
||||||
|
|
||||||
lxrandr = callPackage ../desktops/lxde/core/lxrandr { };
|
|
||||||
|
|
||||||
lxsession = callPackage ../desktops/lxde/core/lxsession { };
|
|
||||||
|
|
||||||
lxtask = callPackage ../desktops/lxde/core/lxtask { };
|
|
||||||
|
|
||||||
lxqt = recurseIntoAttrs (import ../desktops/lxqt {
|
lxqt = recurseIntoAttrs (import ../desktops/lxqt {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
Loading…
Reference in New Issue
Block a user