Merge staging-next into staging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform, pkg-config, libusb1 }:
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, libusb1, AppKit }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ecpdap";
|
||||
@@ -15,7 +15,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
buildInputs = [ libusb1 ]
|
||||
++ lib.optional stdenv.isDarwin AppKit;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/udev/rules.d
|
||||
|
||||
31
pkgs/development/tools/misc/jiq/default.nix
Normal file
31
pkgs/development/tools/misc/jiq/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, jq, makeWrapper }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "jiq";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fiatjaf";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-EPhnfgmn0AufuxwcwRrEEQk+RD97akFJSzngkTl4LmY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-ZUmOhPGy+24AuxdeRVF0Vnu8zDGFrHoUlYiDdfIV5lc=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
checkInputs = [ jq ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/jiq \
|
||||
--prefix PATH : ${lib.makeBinPath [ jq ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/fiatjaf/jiq";
|
||||
license = licenses.mit;
|
||||
description = "jid on jq - interactive JSON query tool using jq expressions";
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
};
|
||||
}
|
||||
@@ -20,4 +20,6 @@ pkgs.buildPythonApplication rec {
|
||||
toml
|
||||
jsonschema
|
||||
];
|
||||
# https://github.com/nix-community/pypi2nix/issues/460
|
||||
meta.broken = true;
|
||||
}
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-msrv";
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "foresterre";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ynv5d2rxlc1gzq93v8qjyl5063w7q42g9m95250yh2lmf9hdj5i";
|
||||
sha256 = "sha256-7XOpK6+JVV/p+g/Lb/ORUC9msME0vtuDbmiCBmuOJ8w=";
|
||||
};
|
||||
|
||||
cargoSha256 = "03rphdps17gzcmf8n5w14x5i5rjnfznsl150s3cz5vzhbmnlpszf";
|
||||
cargoSha256 = "sha256-KYITZHBcb5G+7PW8kwbHSsereVjH39cVLQjqNaCq2iU=";
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
|
||||
Reference in New Issue
Block a user