mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge staging-next into staging
This commit is contained in:
commit
ed2c56a3c5
@ -368,13 +368,21 @@ rec {
|
||||
emptyValue = { value = {}; };
|
||||
};
|
||||
|
||||
# derivation is a reserved keyword.
|
||||
# A package is a top-level store path (/nix/store/hash-name). This includes:
|
||||
# - derivations
|
||||
# - more generally, attribute sets with an `outPath` or `__toString` attribute
|
||||
# pointing to a store path, e.g. flake inputs
|
||||
# - strings with context, e.g. "${pkgs.foo}" or (toString pkgs.foo)
|
||||
# - hardcoded store path literals (/nix/store/hash-foo) or strings without context
|
||||
# ("/nix/store/hash-foo"). These get a context added to them using builtins.storePath.
|
||||
package = mkOptionType {
|
||||
name = "package";
|
||||
check = x: isDerivation x || isStorePath x;
|
||||
merge = loc: defs:
|
||||
let res = mergeOneOption loc defs;
|
||||
in if isDerivation res then res else toDerivation res;
|
||||
in if builtins.isPath res || (builtins.isString res && ! builtins.hasContext res)
|
||||
then toDerivation res
|
||||
else res;
|
||||
};
|
||||
|
||||
shellPackage = package // {
|
||||
|
@ -22,7 +22,8 @@ merging is handled.
|
||||
|
||||
`types.package`
|
||||
|
||||
: A derivation or a store path.
|
||||
: A top-level store path. This can be an attribute set pointing
|
||||
to a store path, like a derivation or a flake input.
|
||||
|
||||
`types.anything`
|
||||
|
||||
|
@ -43,7 +43,9 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
A derivation or a store path.
|
||||
A top-level store path. This can be an attribute set
|
||||
pointing to a store path, like a derivation or a flake
|
||||
input.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -34,6 +34,14 @@ in
|
||||
Repository to add the runner to.
|
||||
|
||||
Changing this option triggers a new runner registration.
|
||||
|
||||
IMPORTANT: If your token is org-wide (not per repository), you need to
|
||||
provide a github org link, not a single repository, so do it like this
|
||||
<literal>https://github.com/nixos</literal>, not like this
|
||||
<literal>https://github.com/nixos/nixpkgs</literal>.
|
||||
Otherwise, you are going to get a <literal>404 NotFound</literal>
|
||||
from <literal>POST https://api.github.com/actions/runner-registration</literal>
|
||||
in the configure script.
|
||||
'';
|
||||
example = "https://github.com/nixos/nixpkgs";
|
||||
};
|
||||
|
@ -8,12 +8,7 @@ let
|
||||
homeDir = "/var/lib/tox-node";
|
||||
|
||||
configFile = let
|
||||
# fetchurl should be switched to getting this file from tox-node.src once
|
||||
# the dpkg directory is in a release
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/tox-rs/tox-node/master/dpkg/config.yml";
|
||||
sha256 = "1431wzpzm786mcvyzk1rp7ar418n45dr75hdggxvlm7pkpam31xa";
|
||||
};
|
||||
src = "${pkg.src}/dpkg/config.yml";
|
||||
confJSON = pkgs.writeText "config.json" (
|
||||
builtins.toJSON {
|
||||
log-type = cfg.logType;
|
||||
|
30
pkgs/data/fonts/source-sans-pro/default.nix
Normal file
30
pkgs/data/fonts/source-sans-pro/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, fetchzip }:
|
||||
|
||||
# Source Sans Pro got renamed to Source Sans 3 (see
|
||||
# https://github.com/adobe-fonts/source-sans/issues/192). This is the
|
||||
# last version named "Pro". It is useful for backward compatibility
|
||||
# with older documents/templates/etc.
|
||||
let
|
||||
version = "3.006";
|
||||
in fetchzip {
|
||||
name = "source-sans-pro-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
|
||||
sha256 = "sha256-uWr/dFyLF65v0o6+oN/3RQoe4ziPspzGB1rgiBkoTYY=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-sans/";
|
||||
description = "Sans serif font family for user interface environments";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
30
pkgs/data/fonts/source-serif-pro/default.nix
Normal file
30
pkgs/data/fonts/source-serif-pro/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, fetchzip }:
|
||||
|
||||
# Source Serif Pro got renamed to Source Serif 4 (see
|
||||
# https://github.com/adobe-fonts/source-serif/issues/77). This is the
|
||||
# last version named "Pro". It is useful for backward compatibility
|
||||
# with older documents/templates/etc.
|
||||
let
|
||||
version = "3.001";
|
||||
in fetchzip {
|
||||
name = "source-serif-pro-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-serif/releases/download/${version}R/source-serif-pro-${version}R.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
|
||||
sha256 = "sha256-rYWk8D41QMuuSP+cQMk8ttT7uX3a7gBk4OqjA7K9udk=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-serif/";
|
||||
description = "Typeface for setting text in many sizes, weights, and languages. Designed to complement Source Sans";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
@ -4,16 +4,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "unifont";
|
||||
version = "14.0.01";
|
||||
version = "14.0.02";
|
||||
|
||||
ttf = fetchurl {
|
||||
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.ttf";
|
||||
sha256 = "19algkm4nnixmzshc25rjgh8gfccqinallgi86wgvkcwcmn6ccn6";
|
||||
# Unfortunately the 14.0.02 TTF file is not available on the GNU mirror.
|
||||
# Restore this for next version: "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.ttf";
|
||||
url = "https://unifoundry.com/pub/unifont/${pname}-${version}/font-builds/${pname}-${version}.ttf";
|
||||
sha256 = "1c8rdk3xg6j8lrzxddd73jppfgpk253jdkch63rr7n2d7ljp9gc3";
|
||||
};
|
||||
|
||||
pcf = fetchurl {
|
||||
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.pcf.gz";
|
||||
sha256 = "1aj29pswi6qwpvjwncv5w3ndwy2nzli0200i6dx6f80036z8nz9i";
|
||||
sha256 = "0hcl1zihm91xwvh5ds01sybgs0j8zsrrhn4wlz5j6ji99rh797jr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libfaketime fonttosfnt mkfontscale ];
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "14.0.01";
|
||||
version = "14.0.02";
|
||||
in fetchzip rec {
|
||||
name = "unifont_upper-${version}";
|
||||
|
||||
@ -9,7 +9,7 @@ in fetchzip rec {
|
||||
|
||||
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
|
||||
|
||||
sha256 = "0sb3m2qg0ri7zmxhjvrq8n0jmxxjx8rrx9rpibh5f5fbfkibq4gm";
|
||||
sha256 = "0p1c2kkg20jqddy828yj6sxfwgv8k5gxwmg0cybalrjb0s09kcs8";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-arcmenu";
|
||||
version = "23";
|
||||
version = "24";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "arcmenu";
|
||||
repo = "ArcMenu";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-i/sXAZhNbbVbKdCJ3k9kRAEY9iC5iSNq4YtjiiOqHTM=";
|
||||
sha256 = "sha256-GbZt6JC+uAPkb4GU1Q7WRJ6Pf95Uh48cYwvoTgLimHs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
File diff suppressed because one or more lines are too long
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ftxui";
|
||||
version = "unstable-2021-08-13";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ArthurSonzogni";
|
||||
repo = pname;
|
||||
rev = "69b0c9e53e523ac43a303964fc9c5bc0da7d5d61";
|
||||
sha256 = "0cbljksgy1ckw34h0mq70s8sma0p16sznn4z9r4hwv76y530m0ww";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BfNUk2DbBpKMBEu1tQWl85tgjB/4NAh86VVSS9zAjKo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -23,9 +23,13 @@ stdenv.mkDerivation rec {
|
||||
graphviz
|
||||
];
|
||||
|
||||
# gtest and gbenchmark don't seem to generate any binaries
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ArthurSonzogni/FTXUI";
|
||||
description = "Functional Terminal User Interface for C++";
|
||||
changelog = "https://github.com/ArthurSonzogni/FTXUI/blob/v${version}/CHANGELOG.md";
|
||||
description = "Functional Terminal User Interface library for C++";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
platforms = platforms.unix;
|
||||
|
@ -6,13 +6,13 @@ assert blas.isILP64 == lapack.isILP64;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "scalapack";
|
||||
version = "2.2.0";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Reference-ScaLAPACK";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0hiap5i9ik6xpvl721n2slanlqygagc1pg2bcjb27ans6balhsfh";
|
||||
sha256 = "sha256-GNVGWrIWdfyTfbz7c31Vjt9eDlVzCd/aLHoWq2DMyX4=";
|
||||
};
|
||||
|
||||
passthru = { inherit (blas) isILP64; };
|
||||
|
@ -1,24 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bsdiff4";
|
||||
version = "1.2.1";
|
||||
version = "1.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b";
|
||||
hash = "sha256-GICsP1KmxGrmvMbbEX5Ps1+bDM1a91/U/uaQfQDWmDw=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bsdiff4"
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
mv bsdiff4 _bsdiff4
|
||||
python -c 'import bsdiff4; bsdiff4.test()'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "binary diff and patch using the BSDIFF4-format";
|
||||
description = "Binary diff and patch using the BSDIFF4-format";
|
||||
homepage = "https://github.com/ilanschnell/bsdiff4";
|
||||
license = licenses.bsdProtection;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
|
@ -6,15 +6,20 @@
|
||||
, transaction
|
||||
, zope_testrunner
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "BTrees";
|
||||
version = "4.9.2";
|
||||
pname = "btrees";
|
||||
version = "4.10.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d33323655924192c4ac998d9ee3002e787915d19c1e17a6baf47c9a63d9556e3";
|
||||
pname = "BTrees";
|
||||
inherit version;
|
||||
hash = "sha256-1qsONBDQdNcVQkXW3GSTrobxtQvWCA0TEOuz7N6l3rY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,25 +1,37 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, urllib3 }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, urllib3
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "downloader-cli";
|
||||
version = "0.3.2";
|
||||
version = "0.3.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepjyoti30";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0hjwy3qa6al6p35pv01sdl3szh7asf6vlmhwjbkpppn4zi239k0y";
|
||||
hash = "sha256-Dl5XIvdZInz+edL9uQv7V6Kc6FB+7hFAGe/nybnqvQU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ urllib3 ];
|
||||
propagatedBuildInputs = [
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Disable checks due to networking (Errno 101)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "downloader_cli" ];
|
||||
pythonImportsCheck = [
|
||||
"downloader_cli"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple downloader written in Python with an awesome customizable progressbar. ";
|
||||
description = "Downloader with an awesome customizable progressbar";
|
||||
homepage = "https://github.com/deepjyoti30/downloader-cli";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ j0hax ];
|
||||
|
@ -9,25 +9,36 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "neo";
|
||||
version = "0.10.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "0.10.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-RE/xUnjdz541d4IOh4z2ufQiDOFFvxATyPMFNs9gk5s=";
|
||||
sha256 = "sha256-LUIYsIJtruqIDhVSJwYAKew4oAI4zrXwlxONlGfGOZs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy quantities ];
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
quantities
|
||||
];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests --exclude=iotest
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"neo"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Package for representing electrophysiology data";
|
||||
homepage = "https://neuralensemble.org/neo/";
|
||||
description = "Package for representing electrophysiology data in Python";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
|
@ -1,24 +1,39 @@
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, traits, pyface, six
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, traits
|
||||
, pyface
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "traitsui";
|
||||
version = "7.2.1";
|
||||
version = "7.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dfc39015faf0591f9927e3d4d22bd95a16d49c85db30e60acd4ba7b85c7c5d5b";
|
||||
hash = "sha256-ZkSz+PYColdgcC3IchuneM51lFBAk68UpIadI56GdPQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ traits pyface six ];
|
||||
propagatedBuildInputs = [
|
||||
traits
|
||||
pyface
|
||||
];
|
||||
|
||||
doCheck = false; # Needs X server
|
||||
# Needs X server
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"traitsui"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Traits-capable windowing framework";
|
||||
homepage = "https://github.com/enthought/traitsui";
|
||||
maintainers = with maintainers; [ knedlsepp ];
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with maintainers; [ knedlsepp ];
|
||||
};
|
||||
}
|
||||
|
@ -2,18 +2,22 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, yara
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yara-python";
|
||||
version = "4.1.3";
|
||||
version = "4.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirusTotal";
|
||||
repo = "yara-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-lOP+OVnMgpP8S+Q3jGRNEAFXAohXgX5Nvl+l4EK5ebs=";
|
||||
hash = "sha256-jNxYuIddMzANZoQ0p7BbRrX6ISpaCA7T6j+iS+FOocg=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -28,9 +32,13 @@ buildPythonPackage rec {
|
||||
"--dynamic-linking"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests.py" ];
|
||||
pytestFlagsArray = [
|
||||
"tests.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "yara" ];
|
||||
pythonImportsCheck = [
|
||||
"yara"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface for YARA";
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mill";
|
||||
version = "0.10.0";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly";
|
||||
sha256 = "sha256:1acm1z24cw2yzykwwjfrcf66mi16xvsrnrrhrsd9yqrajqab707n";
|
||||
hash = "sha256:hYQOmnJjsOIIri5H0/B5LhixwfiLxxpVoN4ON1NUkWg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
49
pkgs/tools/misc/kakoune-cr/default.nix
Normal file
49
pkgs/tools/misc/kakoune-cr/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ lib, crystal, fetchFromGitHub, fetchurl, jq }:
|
||||
let
|
||||
icon = fetchurl {
|
||||
url = "https://github.com/mawww/kakoune/raw/master/doc/kakoune_logo.svg";
|
||||
hash = "sha256-JxhIEmjiGrisaarA1sX1AfzNjHNIm9xjyPs/nG1uL/U=";
|
||||
};
|
||||
in
|
||||
crystal.buildCrystalPackage rec {
|
||||
pname = "kakoune.cr";
|
||||
version = "unstable-2021-11-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexherbo2";
|
||||
repo = "kakoune.cr";
|
||||
rev = "43d4276e1d173839f335ff60f205b89705892e00";
|
||||
hash = "sha256-xFrxbnZl/49vGKdkESPa6LpK0ckq4Jv5GNLL/G0qA1w=";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ jq ];
|
||||
|
||||
format = "shards";
|
||||
shardsFile = ./shards.nix;
|
||||
lockFile = ./shard.lock;
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace src/kakoune/version.cr --replace \
|
||||
'`git describe --tags --always`' \
|
||||
'"${version}"'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -Dm555 share/kcr/commands/*/kcr-* -t $out/bin
|
||||
install -Dm444 share/kcr/applications/kcr.desktop -t $out/share/applications
|
||||
install -Dm444 ${icon} $out/share/icons/hicolor/scalable/apps/kcr.svg
|
||||
cp -r share/kcr $out/share/
|
||||
'';
|
||||
|
||||
installCheckPhase = ''
|
||||
$out/bin/kcr --help
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/alexherbo2/kakoune.cr";
|
||||
description = "A command-line tool for Kakoune";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ malvo ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
10
pkgs/tools/misc/kakoune-cr/shard.lock
Normal file
10
pkgs/tools/misc/kakoune-cr/shard.lock
Normal file
@ -0,0 +1,10 @@
|
||||
version: 2.0
|
||||
shards:
|
||||
fifo:
|
||||
git: https://github.com/alexherbo2/fifo.cr.git
|
||||
version: 0.1.0+git.commit.37a2cc2718af0f8a1c50071106d7a5ca3a0d3da2
|
||||
|
||||
rsub:
|
||||
git: https://github.com/alexherbo2/rsub.cr.git
|
||||
version: 0.1.0+git.commit.43c6b9836ee281328bccfdf8c669bab26448e3b3
|
||||
|
14
pkgs/tools/misc/kakoune-cr/shards.nix
Normal file
14
pkgs/tools/misc/kakoune-cr/shards.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
fifo = {
|
||||
owner = "alexherbo2";
|
||||
repo = "fifo.cr";
|
||||
rev = "37a2cc2718af0f8a1c50071106d7a5ca3a0d3da2";
|
||||
sha256 = "0syh2819dzsfb562z645sajfh7xplhh3mxdachjnzlsdfqkxw85r";
|
||||
};
|
||||
rsub = {
|
||||
owner = "alexherbo2";
|
||||
repo = "rsub.cr";
|
||||
rev = "43c6b9836ee281328bccfdf8c669bab26448e3b3";
|
||||
sha256 = "144p83y3d02jy4gapify53x3i4i51yva6ajbvgi8rx0zj2ajgr0d";
|
||||
};
|
||||
}
|
@ -7,16 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mqttui";
|
||||
version = "0.15.0";
|
||||
version = "0.16.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EdJoPaTo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Uts9hKhnFNYdQhxeUoTOehCcfgqQwStSoGWixgY3dPU=";
|
||||
sha256 = "sha256-kGOQIoE+0lCBm9zQwPMFfYnLJgR79hSKECerWyOFsjI=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-YxXniyuQEM+vrCbflqCLlnXpH3ClAd9O496SFVKRvBs=";
|
||||
cargoSha256 = "sha256-vm4IR/yQlQDn9LN9Ifr4vJvM6cCqgjRU2vdAHVEsWnI=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
|
40
pkgs/tools/security/mokutil/default.nix
Normal file
40
pkgs/tools/security/mokutil/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, openssl
|
||||
, efivar
|
||||
, keyutils
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mokutil";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lcp";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-dt41TCr6RkmE9H+NN8LWv3ogGsK38JtLjVN/b2mbGJs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
efivar
|
||||
keyutils
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/lcp/mokutil";
|
||||
description = "Utility to manipulate machines owner keys";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -2,16 +2,16 @@
|
||||
|
||||
let
|
||||
|
||||
version = "4.5.0.2216";
|
||||
version = "4.7.0.2747";
|
||||
|
||||
sonarScannerArchPackage = {
|
||||
"x86_64-linux" = {
|
||||
url = "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${version}-linux.zip";
|
||||
sha256 = "sha256-rmvDb5l2BGV8j94Uhu2kJXwoDAHA3VncAahqGvLY3I0=";
|
||||
sha256 = "0qy97lcn9nfwg0x32v9x5kh5jswnjyw3wpvxj45z7cddlj2is4iy";
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
url = "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${version}-macosx.zip";
|
||||
sha256 = "1g3lldpkrjlvwld9h82hlwclyplxpbk4q3nq59ylw4dhp26kb993";
|
||||
sha256 = "0f8km7wqkw09g01l03kcrjgvq7b6xclzpvb5r64ymsmrc39p0ylp";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -15,13 +15,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yara";
|
||||
version = "4.2.0-rc1";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirusTotal";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WcN6ClYO2d+/MdG06RHx3kN0o0WVAY876dJiG7CwJ8w=";
|
||||
hash = "sha256-ECvNob5QbOe5JfaDMGvSxCS+E9nqdsfSCZAVlAs18q4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1123,8 +1123,6 @@ mapAliases ({
|
||||
source-han-serif-korean = source-han-serif;
|
||||
source-han-serif-simplified-chinese = source-han-serif;
|
||||
source-han-serif-traditional-chinese = source-han-serif;
|
||||
source-sans-pro = source-sans; # Added 2021-10-20
|
||||
source-serif-pro = source-serif; # Added 2021-10-20
|
||||
|
||||
spaceOrbit = throw "'spaceOrbit' has been renamed to/replaced by 'space-orbit'"; # Converted to throw 2022-02-22
|
||||
spectral = neochat; # Added 2020-12-27
|
||||
|
@ -779,6 +779,8 @@ with pkgs;
|
||||
mkShell = callPackage ../build-support/mkshell { };
|
||||
mkShellNoCC = mkShell.override { stdenv = stdenvNoCC; };
|
||||
|
||||
mokutil = callPackage ../tools/security/mokutil { };
|
||||
|
||||
nixBufferBuilders = import ../build-support/emacs/buffer.nix { inherit lib writeText; inherit (emacs.pkgs) inherit-local; };
|
||||
|
||||
nix-gitignore = callPackage ../build-support/nix-gitignore { };
|
||||
@ -7001,6 +7003,8 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
kakoune-cr = callPackage ../tools/misc/kakoune-cr { };
|
||||
|
||||
kbdd = callPackage ../applications/window-managers/kbdd { };
|
||||
|
||||
kbs2 = callPackage ../tools/security/kbs2 {
|
||||
@ -24287,8 +24291,10 @@ with pkgs;
|
||||
source-code-pro = callPackage ../data/fonts/source-code-pro {};
|
||||
|
||||
source-sans = callPackage ../data/fonts/source-sans { };
|
||||
source-sans-pro = callPackage ../data/fonts/source-sans-pro { };
|
||||
|
||||
source-serif = callPackage ../data/fonts/source-serif { };
|
||||
source-serif-pro = callPackage ../data/fonts/source-serif-pro { };
|
||||
|
||||
source-han-code-jp = callPackage ../data/fonts/source-han-code-jp { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user