blob: eeb45802e381fd20e0bffd86f890de41d8d38966 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ fetchCrate
, lib
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "paging-calculator";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-GxugaNLkLy71X/E9EAn/2p2ReSHvs5TvXAxg8csu9uc=";
};
cargoHash = "sha256-a1yryyKCcNQVurqnb+AZiBQ0rilNsuXmSsFoaaBe+r8=";
meta = {
description = "CLI utility that helps calculating page table indices from a virtual address";
longDescription = ''
paging-calculator is a CLI utility written in Rust that helps you finding the indices that a
virtual address will have into the page tables on different architectures.
It takes a (virtual) address in hexadecimal format and shows you which index is used for
which level of the page table.
'';
homepage = "https://github.com/phip1611/paging-calculator";
changelog = "https://github.com/phip1611/paging-calculator/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ phip1611 ];
};
}
|