blob: 71879cb074f9442ac7632ed6d98a2c81a32f751c (
plain)
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
|
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cpc";
version = "5.0.0";
src = fetchFromGitHub {
owner = "kasper9n";
repo = "cpc";
tag = "v${finalAttrs.version}";
hash = "sha256-reaKxnWGg3lIUFjCRwaX4HMb+f8371OFKffpBWR48w0=";
};
cargoHash = "sha256-DlxJolTdEqeoczIY0utECw1Xjn0LlyMBo6vLwCYhTjA=";
meta = {
mainProgram = "cpc";
description = "Text calculator with support for units and conversion";
homepage = "https://github.com/kasper9n/cpc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
s0me1newithhand7s
];
};
})
|