tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lwc: init at unstable-2022-07-26
https://github.com/timdp/lwc
figsoda
2 years ago
e1f0e2f0
fe9fc389
+33
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
lwc
default.nix
top-level
all-packages.nix
+31
pkgs/tools/misc/lwc/default.nix
···
1
1
+
{ lib
2
2
+
, buildGoModule
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
buildGoModule rec {
7
7
+
pname = "lwc";
8
8
+
version = "unstable-2022-07-26";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "timdp";
12
12
+
repo = "lwc";
13
13
+
rev = "3330928c9d82200837350f85335f5e6c09f0658b";
14
14
+
hash = "sha256-HFuXA5Y274XtgqG9odDAg9SSCgUxprnojfGavnYW4LE=";
15
15
+
};
16
16
+
17
17
+
vendorHash = "sha256-av736cW0bPsGQV+XFL/q6p/9VhjOeDwkiK5DLRnRtUg=";
18
18
+
19
19
+
ldflags = [
20
20
+
"-s"
21
21
+
"-w"
22
22
+
"-X=main.version=${src.rev}"
23
23
+
];
24
24
+
25
25
+
meta = with lib; {
26
26
+
description = "A live-updating version of the UNIX wc command";
27
27
+
homepage = "https://github.com/timdp/lwc";
28
28
+
license = licenses.mit;
29
29
+
maintainers = with maintainers; [ figsoda ];
30
30
+
};
31
31
+
}
+2
pkgs/top-level/all-packages.nix
···
9874
9874
inherit (darwin.apple_sdk.frameworks) CoreText;
9875
9875
};
9876
9876
9877
9877
+
lwc = callPackage ../tools/misc/lwc { };
9878
9878
+
9877
9879
lxc = callPackage ../os-specific/linux/lxc {
9878
9880
autoreconfHook = buildPackages.autoreconfHook269;
9879
9881
};