mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
26 lines
616 B
Nix
26 lines
616 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "deadnix";
|
|
version = "1.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astro";
|
|
repo = "deadnix";
|
|
rev = "v${version}";
|
|
hash = "sha256-xaaXGzTd+t1GjD2KpiS/c8acv6bXufv/lTN+ACRGVJw=";
|
|
};
|
|
|
|
cargoHash = "sha256-14onbdsactPJ27GTzG+culsdnwHvGdDXwBD9ZMq192Q=";
|
|
|
|
meta = with lib; {
|
|
description = "Find and remove unused code in .nix source files";
|
|
homepage = "https://github.com/astro/deadnix";
|
|
license = licenses.gpl3Only;
|
|
mainProgram = "deadnix";
|
|
maintainers = with maintainers; [ astro ];
|
|
};
|
|
}
|