mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
a990f74cf8
* tumpa: sha256 -> hash * qubes-core-vchan-xen: sha256 -> hash * qdmr: sha256 -> hash * w_scan2: sha256 -> hash * libcdada: sha256 -> hash * eidolon: sha256 -> hash * freenukum: sha256 -> hash * promscale: sha256 -> hash * tacacsplus: sha256 -> hash * blflash: sha256 -> hash * silicon: sha256 -> hash * nethoscope: sha256 -> hash * pmacct: sha256 -> hash * tayga: sha256 -> hash * alejandra: sha256 -> hash * igrep: sha256 -> hash * cwm: sha256 -> hash * dasel: sha256 -> hash
34 lines
848 B
Nix
34 lines
848 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, testers
|
|
, alejandra
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "alejandra";
|
|
version = "3.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kamadorueda";
|
|
repo = "alejandra";
|
|
rev = version;
|
|
hash = "sha256-xFumnivtVwu5fFBOrTxrv6fv3geHKF04RGP23EsDVaI=";
|
|
};
|
|
|
|
cargoHash = "sha256-tF8E9mnvkTXoViVss9cNjpU4UkEsARp4RtlxKWq55hc=";
|
|
|
|
passthru.tests = {
|
|
version = testers.testVersion { package = alejandra; };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "The Uncompromising Nix Code Formatter";
|
|
homepage = "https://github.com/kamadorueda/alejandra";
|
|
changelog = "https://github.com/kamadorueda/alejandra/blob/${version}/CHANGELOG.md";
|
|
license = licenses.unlicense;
|
|
maintainers = with maintainers; [ _0x4A6F kamadorueda sciencentistguy ];
|
|
mainProgram = "alejandra";
|
|
};
|
|
}
|