nixpkgs/pkgs/tools/misc/as-tree/default.nix
figsoda 3837061baf as-tree: 0.12.0 -> unstable-2021-03-09
Upstream has not seen any activity in 2 years, this update gets rid of
the patch and makes migration to importCargoLock easier:
https://github.com/NixOS/nixpkgs/pull/217084#discussion_r1111253151.

Diff: https://github.com/jez/as-tree/compare/0.12.0...0036c20f66795774eb9cda3ccbae6ca1e1c19444
2023-02-28 17:56:45 -05:00

23 lines
633 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "as-tree";
version = "unstable-2021-03-09";
src = fetchFromGitHub {
owner = "jez";
repo = pname;
rev = "0036c20f66795774eb9cda3ccbae6ca1e1c19444";
sha256 = "sha256-80yB89sKIuv7V68p0jEsi2hRdz+5CzE+4R0joRzO7Dk=";
};
cargoSha256 = "sha256-BLEVPKO2YwcKuM/rUeMuyE38phOrbq0e8cjqh1qmJjM=";
meta = with lib; {
description = "Print a list of paths as a tree of paths";
homepage = "https://github.com/jez/as-tree";
license = with licenses; [ blueOak100 ];
maintainers = with maintainers; [ jshholland ];
};
}