Skip to content

Commit

Permalink
treewide: convert cargoSha256 to cargoHash
Browse files Browse the repository at this point in the history
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
  • Loading branch information
Aleksanaa committed Jul 3, 2024
1 parent bfc3e0f commit 53d8228
Show file tree
Hide file tree
Showing 73 changed files with 73 additions and 73 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/display-managers/greetd/dlm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1r3w7my0g3v2ya317qnvjx8wnagjahpj7yx72a65hf2pjbf5x42p";
};

cargoSha256 = "01a8k60qnx2pgxb2adgw30c2hjb60w6230khm5hyqgmp7z4rm8k8";
cargoHash = "sha256-aKKayT+3PuxhqXCCIQwHZkkoGBj8NSVWf1d0i4GZSAU=";

meta = with lib; {
description = "Stupid simple graphical login manager";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@
inherit version;
src = LanguageClient-neovim-src;

cargoSha256 = "H34UqJ6JOwuSABdOup5yKeIwFrGc83TUnw1ggJEx9o4=";
cargoHash = "sha256-H34UqJ6JOwuSABdOup5yKeIwFrGc83TUnw1ggJEx9o4=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];

# FIXME: Use impure version of CoreFoundation because of missing symbols.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/reddsaver/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "07xsrc0w0z7w2w0q44aqnn1ybf9vqry01v3xr96l1xzzc5mkqdzf";
};

cargoSha256 = "0y94dywligcsqs01d228w454ssrzg31p4j8mni9flcr4v29z3rwp";
cargoHash = "sha256-l+fxk9gkM+pStBVJcsN4P2tNCuFIiBaAxpq9SLlvJHk=";

nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/zktree/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9";
};

cargoSha256 = "18v7agm39acnblc703278cn8py5971hm8p5kxmznpw119fjp36s5";
cargoHash = "sha256-RZtxpUsh8Gt/7bNcVGE4qfiLLENHDHAYXZapNOpTZ6M=";

meta = with lib; {
description = "Small tool to display Znodes in Zookeeper in tree structure";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/wg-bond/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256:04k0maxy39k7qzcsqsv1byddsmjszmnyjffrf22nzbvml83p3l0y";
};

cargoSha256 = "1nlzhkhk1y0jhj6n3wn4dm783ldsxn7dk0d2xjx6ylczf9z3gp12";
cargoHash = "sha256-Itw3fnKfUW+67KKB2Y7tutGBTm3E8mGNhBL4MOGEn9o=";

nativeBuildInputs = [ makeWrapper ];
postInstall = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/electronics/dwfv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0xxgwbbbzaldbl04k5ksk61wa6i4f9mc84q04ljg438z0k8q6cr7";
};

cargoSha256 = "1z51yx3psdxdzmwny0rzlch5hjx2pssll73q79qij2bc7wgyjscy";
cargoHash = "sha256-nmnpHz9sCRlxOngcSrW+oktYIKM/A295/a03fUf3ofw=";

meta = with lib; {
description = "Simple digital waveform viewer with vi-like key bindings";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "EYzhb9jJ4MzHxIbaTb1MxeXUgoxTwcnq5JdxAv2uNcA=";
};

cargoSha256 = "AeHQCoP1HOftlOt/Yala3AXocMlwwIXIO2i1AsFSvGQ=";
cargoHash = "sha256-AeHQCoP1HOftlOt/Yala3AXocMlwwIXIO2i1AsFSvGQ=";

meta = with lib; {
description = "CLI tool to help you write git commit";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0bzq4ridzb4l1zqrj1r0vlzkjpgfaqwky5jf49cwjhz4ybwrfpkq";
};

cargoSha256 = "00wi64v2zn8rp8fjwbdwyvl3pva5sn9xclaawp2m222dqnlszb2d";
cargoHash = "sha256-TayvqcVNCFHF5UpR1pPVRe076Pa8LS4duhnZLzYxkQM=";

meta = with lib; {
homepage = "https://github.com/softprops/git-codeowners";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/josh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "10fspcafqnv6if5c1h8z9pf9140jvvlrch88w62wsg4w2vhaii0v";
};

cargoSha256 = "1j0vl3h6f65ldg80bgryh1mz423lcrcdkn8rmajya1850pfxk3w3";
cargoHash = "sha256-g4/Z3QUFBeWlqhnZ2VhmdAjya4A+vwXQa7QYZ+CgG8g=";

nativeBuildInputs = [
pkg-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "021vdk5i7yyrnh4apn0gnsh6ycnx15wm3g2jrfsg7fycnq8167wc";
};

cargoSha256 = "0hx5nhxci6p0gjjn1f3vpfykq0f7hdvhlv8898vrv0lh5r9hybsn";
cargoHash = "sha256-Vi8PUy6Qgp03SghtCneDxwE8vbt7uGClfOCayDq0pUM=";

nativeBuildInputs = [ makeWrapper ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/window-managers/i3/i3-ratiosplit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0yfmr5zk2c2il9d31yjjbr48sqgcq6hp4a99hl5mjm2ajyhy5bz3";
};

cargoSha256 = "134sgc9d0j57swknl9sgil6212rws2hhp92s3cg1yzz5ygx21c76";
cargoHash = "sha256-5rAg+vPlfx8eG1qkC6HQPIsgDI1PJ2on16dI0BJ7mow=";

# Currently no tests are implemented, so we avoid building the package twice
doCheck = false;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/hi/himalaya/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-NrWBg0sjaz/uLsNs8/T4MkUgHOUvAWRix1O5usKsw6o=";
};

cargoSha256 = "YS8IamapvmdrOPptQh2Ef9Yold0IK1XIeGs0kDIQ5b8=";
cargoHash = "sha256-YS8IamapvmdrOPptQh2Ef9Yold0IK1XIeGs0kDIQ5b8=";

NIX_LDFLAGS = lib.optionals stdenv.isDarwin [
"-F${darwin.apple_sdk.frameworks.AppKit}/Library/Frameworks"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/ne/neverest/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-3PSJyhxrOCiuHUeVHO77+NecnI5fN5EZfPhYizuYvtE=";
};

cargoSha256 = "i5or8oBtjGqOfTfwB7dYXn/OPgr5WEWNEvC0WdCCG+c=";
cargoHash = "sha256-i5or8oBtjGqOfTfwB7dYXn/OPgr5WEWNEvC0WdCCG+c=";

nativeBuildInputs = [ pkg-config ]
++ lib.optional (installManPages || installShellCompletions) installShellFiles;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
openssl
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];

cargoSha256 = "sha256:8SOpL8nfhYen9vza0LYpB/5fgVmBwG7vGMmFOaJskIc=";
cargoHash = "sha256-8SOpL8nfhYen9vza0LYpB/5fgVmBwG7vGMmFOaJskIc=";

# Tests perform networking and therefore can't work in sandbox
doCheck = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
CoreServices
]);

cargoSha256 = "sha256:1dpdlzv96kpc25yf5jgsz9qldghyw35x382qpxhkadkn5dryzjvd";
cargoHash = "sha256-bcvvcyt2NjVhv1ig0cvgHr5Gcfr6yeJ8EexOk/an7bY=";

# Tests perform networking and therefore can't work in sandbox
doCheck = false;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/misc/loc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0086asrx48qlmc484pjz5r5znli85q6qgpfbd81gjlzylj7f57gg";
};

cargoSha256 = "1qfqhqimp56g34bir30zgl273yssrbmwf1h8h8yvdpzkybpd92gx";
cargoHash = "sha256-/YnU7vLz37Y9gggGx+vKWvtxBH0fjBwXGc+UWyOG2OE=";

meta = with lib; {
homepage = "https://github.com/cgag/loc";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/analysis/panopticon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {

dontWrapQtApps = true;

cargoSha256 = "0vhcb3kw1zgchx3nrk8lyrz8p5071y99vsysxvi71klv7dcvn0am";
cargoHash = "sha256-VQG7WTubznDi7trrnZIPB5SLfvYUzWxHh+z9wOdYDG4=";
doCheck = false;

postInstall = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/async/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "19ypflbayi5l0mb8yw7w0a4bq9a3w8nl9jsxapp9m3xggzmsvrxx";
};

cargoSha256 = "0y2q46i838gha58p95vcv5r5i14il1kv86k35s30ncfibijgp0lc";
cargoHash = "sha256-jIL7ZFzRMQuGLmMatGegkYRYctlsl3RRUfChgaIhWHg=";

meta = with lib; {
description = "Tool to parallelize shell commands";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/clog-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1wxglc4n1dar5qphhj5pab7ps34cjr7jy611fwn72lz0f6c7jp3z";
};

cargoSha256 = "0xcgzlcmlk5ycw4kklprm8lzs72j2zp8xm3dcpy606z4r9qn0c6a";
cargoHash = "sha256-yjBgccrkG2D8ZW3Uju4XUhz9Kar50jkJZ75MWhn9j3U=";

meta = {
description = "Generate changelogs from local git metadata";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/misc/mdctags/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage {
sha256 = "14gryhgh9czlkfk75ml0620c6v8r74i6h3ykkkmc7gx2z8h1jxrb";
};

cargoSha256 = "1kdbrcpvxiq91m5vq33vzjhsp4j3flzrpbj5hmxf0k3al1a7qk1g";
cargoHash = "sha256-L0x8VKBqTOB6hUWumz91Q5Krofx7DLxLDQnHvi/Lq80=";

meta = {
description = "tags for markdown file";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/parinfer-rust/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0hj5in5h7pj72m4ag80ing513fh65q8xlsf341qzm3vmxm3y3jgd";
};

cargoSha256 = "1lam4gwzcj6w0pyxf61l2cpbvvf5gmj2gwi8dangnhd60qhlnvrx";
cargoHash = "sha256-PW9LIQamQfusaijyJ2R9xe29LhM0GNf9BdxI9vkjVdE=";

nativeBuildInputs = [ llvmPackages.clang rustPlatform.bindgenHook ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/pax-rs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ rustPlatform.buildRustPackage rec {
cp ${cargo-lock} $out/Cargo.lock
'';

cargoSha256 = "0d6g52hjflnw2zvlx10pz78527vh7mw5n43yi8q6dwr3pkbds1fs";
cargoHash = "sha256-2gXd1rwj82Ywin4QW3g9cB9R0PkXhE73F9xSJ6EozzQ=";
}
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/bootimage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "12p18mk3l473is3ydv3zmn6s7ck8wgjwavllimcpja3yjilxm3zg";
};

cargoSha256 = "03jximwqgjq7359c5mxbyfja2d04y57h34f87aby8jy0lz99jy2x";
cargoHash = "sha256-XXiZ0qfAS+SXOsiRAU/xBDShpPOr18JSGQfLh3mNXQ4=";

meta = with lib; {
description = "Creates a bootable disk image from a Rust OS kernel";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/cargo-asm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1f6kzsmxgdms9lq5z9ynnmxymk9k2lzlp3caa52wqjvdw1grw0rb";
};

cargoSha256 = "1c22aal3i7zbyxr2c41fimfx13fwp9anmhh641951yd7cqb8xij2";
cargoHash = "sha256-QsaOFman+VBSIAbCalW63I3QXY0uECZy9+ufOKhSQrA=";

buildInputs = lib.optional stdenv.isDarwin Security;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/cargo-bazel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios=";
};

cargoSha256 = "+PVNB/apG5AR236Ikqt+JTz20zxc0HUi7z6BU6xq/Fw=";
cargoHash = "sha256-+PVNB/apG5AR236Ikqt+JTz20zxc0HUi7z6BU6xq/Fw=";

buildInputs = lib.optional stdenv.isDarwin Security;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/cargo-deadlinks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0s5q9aghncsk9834azn5cgnn5ms3zzyjan2rq06kaqcgzhld4cjh";
};

cargoSha256 = "00g06zf0m1wry0mhf098pw99kbb99d8a17985pb90yf1w74rdkh6";
cargoHash = "sha256-Bs6WyeHBeZDWLSidoFBLaa2ZEr8oAQcr8JmHCtw34AE=";

checkFlags = [
# uses internet
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/cargo-espmonitor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "hWFdim84L2FfG6p9sEf+G5Uq4yhp5kv1ZMdk4sMHa+4=";
};

cargoSha256 = "d0tN6NZiAd+RkRy941fIaVEw/moz6tkpL0rN8TZew3g=";
cargoHash = "sha256-d0tN6NZiAd+RkRy941fIaVEw/moz6tkpL0rN8TZew3g=";

meta = with lib; {
description = "Cargo tool for monitoring ESP32/ESP8266 execution";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/cargo-inspect/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {

buildInputs = lib.optionals stdenv.isDarwin [ Security ];

cargoSha256 = "069i8ydrp1pssnjq7d6mydwr7xh2cmcpzpf8bzd6nfjr6xx1pipr";
cargoHash = "sha256-+cYbejdZOmvaX8jdf1llAvaTefPVtIOl1fqGm5tHMRk=";

meta = with lib; {
description = "See what Rust is doing behind the curtains";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/cargo-kcov/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0hqplgj3i8js42v2kj44khk543a93sk3n6wlfpv3c84pdqlm29br";
};

cargoSha256 = "0m5gfyjzzwd8wkbb388vmd785dy334x0migq3ssi7dlah9zx62bj";
cargoHash = "sha256-cgnTf4KKthO1HvjFCjoZw7eCTqsbobHW5Kjx/6V3r1Q=";
doCheck = false;

nativeBuildInputs = [ makeWrapper ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/rust/cargo-web/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1dl5brj5fnmxmwl130v36lvy4j64igdpdvjwmxw3jgg2c6r6b7cd";
};

cargoSha256 = "0q7yxvvngfvn4s889qzp1qnsw2c6qy2ryv9vz9cxhmqidx4dg4va";
cargoHash = "sha256-apPXSG8RV9hZ+jttn4XHhgmuLQ7344SQJna7Z/fu/mA=";

nativeBuildInputs = [ openssl perl pkg-config ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/misc/autoadb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-9Sv38dCtvbqvxSnRpq+HsIwF/rfLUVZbi0J+mltLres=";
};

cargoSha256 = "1gzg1lhq8gp790mrc8fw8dg146k8lg20pnk45m2ssnmdka0826f7";
cargoHash = "sha256-xxmBgJqtWq1FLWTaC8SjaBoSXkPcIZYrSOc+hCEN778=";

meta = with lib; {
description = "Execute a command whenever a device is adb-connected";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/misc/uq/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1qqqmdk0v1d3ckasmmw5lbrkvhkv0nws4bzi9cfi1ndhrbvbkbxb";
};

cargoSha256 = "1p6008vxm2pi9v31qhsq7zysanal6rcvcl8553373bkqlfd7w5c4";
cargoHash = "sha256-hBV+mqN4rnHGKAVRtlk2VFml/T9YQxzGTvGK2jcCwNw=";

meta = with lib; {
description = "Simple, user-friendly alternative to sort | uniq";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/swapview/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0339biydk997j5r72vzp7djwkscsz89xr3936nshv23fmxjh2rzj";
};

cargoSha256 = "03yi6bsjjnl8hznxr1nrnxx5lrqb574625j2lkxqbl9vrg9mswdz";
cargoHash = "sha256-v3Fd08s70YX7pEIWYcgpC2daerfZhtzth4haKfUy0Q8=";

meta = with lib; {
description = "Simple program to view processes' swap usage on Linux";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/webmetro/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1n2c7ygs8qsd5zgii6fqqcwg427bsij082bg4ijnzkq5630dx651";
};

cargoSha256 = "1n4498byy2m2f928hamfn959abrrn693wcc323ifqqrvnbkckdz8";
cargoHash = "sha256-6LfJ5rI7Y+ziEIMxPpKxOS+VSrKuKohEcqIK7xdKhNg=";

meta = with lib; {
description = "Simple relay server for broadcasting a WebM stream";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/shells/nsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1479wv8h5l2b0cwp27vpybq50nyvszhjxmn76n2bz3fchr0lrcbp";
};

cargoSha256 = "1kxjr4ymns95g6jz94107nqmd71m2xh8k19gcsy08650gjrn5cz3";
cargoHash = "sha256-47Nis3ygGAS8Zi+FiWAXNZxWsT0gkPSleSVpWz3Jss8=";

doCheck = false;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/X11/inputplug/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {

buildInputs = [ libbsd ];

cargoSha256 = "161kz47d4psfvh0vm98k8qappg50lpsw1ybyy7s3g3bp6ivfz8jv";
cargoHash = "sha256-W6LvdjR3jTf08X75wPWloLx7FUYTpboB3E5f0g75M5g=";

postInstall = ''
installManPage inputplug.1
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/X11/xidlehook/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1pl7f8fhxfcy0c6c08vkagp0x1ak96vc5wgamigrk1nkd6l371lb";
};

cargoSha256 = "1y7m61j07gvqfqz97mda39nc602sv7a826c06m8l22i7z380xfms";
cargoHash = "sha256-uroO0PgnCkFRNYAZgdTZWgDDbBqq1ZM+dni/A2Qw9fg=";

buildInputs = [ xorg.libX11 xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config patchelf python3 ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/games/steam-acf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "16q3md7cvdz37pqm1sda81rkjf249xbsrlpdl639r06p7f4nqlc2";
};

cargoSha256 = "0fzlvn0sl7613hpsb7ncykmcl53dgl8rzsg317nwkj2w679q4xq6";
cargoHash = "sha256-BneC0zFcyMntCePpnxF9bRTK6vTMnqUvHMEcqoHd9Ds=";

meta = with lib; {
description = "Tool to convert Steam .acf files to JSON";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/colorpanes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "qaOH+LXNDq+utwyI1yzHWNt25AvdAXCTAziGV9ElroU=";
};

cargoSha256 = "eJne4OmV4xHxntTb8HE+2ghX1hZLE3WQ3QqsjVm9E4M=";
cargoHash = "sha256-eJne4OmV4xHxntTb8HE+2ghX1hZLE3WQ3QqsjVm9E4M=";

postInstall = ''
ln -s $out/bin/colp $out/bin/colorpanes
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/didu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "szYWRN1NZbfpshipwMMJSWJw/NG4w7I+aqwtmqpT0R0=";
};

cargoSha256 = "O1kkfrwv7xiOh3wCV/ce6cqpkMPRRzcXOFESYMAhiKA=";
cargoHash = "sha256-O1kkfrwv7xiOh3wCV/ce6cqpkMPRRzcXOFESYMAhiKA=";

meta = with lib; {
description = "Duration conversion between units";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/diskonaut/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1pmbag3r2ka30zmy2rs9jps2qxj2zh0gy4a774v9yhf0b6qjid54";
};

cargoSha256 = "10jrcy8m9ll4136ghq3fhmnphd9g3rw863x708vm17n44kgdxyab";
cargoHash = "sha256-S/ne3iTEnlA3AqcPg3geLzV4bYVuYPjMCITSVJFnWYI=";

# 1 passed; 44 failed https://hydra.nixos.org/build/148943783/nixlog/1
doCheck = !stdenv.isDarwin;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/dutree/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
'';
};

cargoSha256 = "0gg1w0xx36aswfm0y53nqwwz7zds25ysmklbrc8v2r91j74bhkzw";
cargoHash = "sha256-/E+4yJEhZbERy4vOqn0Ruv3zOcd2FA+q41qZ0Tvg4T0=";

meta = with lib; {
description = "Tool to analyze file system usage written in Rust";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/fcp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0f242n8w88rikg1srimdifadhggrb2r1z0g65id60ahb4bjm8a0x";
};

cargoSha256 = "0gw7gjfwc4r03rg6z65ml0y37sh4yf716isqs0mb4jqkp7rwfbc9";
cargoHash = "sha256-iS3H87kTS7Iq0FhHE47zBOozPKC1mG9eHiATxp18hz8=";

nativeBuildInputs = [ expect ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/hacksaw/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1l6i91xb81p1li1j2jm0r2rx8dbzl2yh468cl3dw0lqpqy4i65hx";
};

cargoSha256 = "1rykc06lq3bkblsrj68rbil63yqdnvxkxlppq1w74wf0d6cwjc08";
cargoHash = "sha256-CDDJmWnAcXJ4wPfSPvu2DfthaFwZGZk1XXMNTA1g0+c=";

meta = with lib; {
description = "Lightweight selection tool for usage in screenshot scripts etc";
Expand Down
Loading

0 comments on commit 53d8228

Please sign in to comment.