tangled
alpha
login
or
join now
ovyerus.com
/
dotfiles
1
fork
atom
Nix configurations for my personal machines (Linux & macOS)
1
fork
atom
overview
issues
pulls
pipelines
feat: add iconifydl package
ovyerus.com
1 year ago
030514fa
b1328b03
verified
This commit was signed with the committer's
known signature
.
ovyerus.com
SSH Key Fingerprint:
SHA256:mXbp9WNBIT0nRNe28t2hrxfSwnSX7UBeW2DVlIyf0uw=
+26
-1
2 changed files
expand all
collapse all
unified
split
flake.nix
pkgs
iconifydl.nix
+8
-1
flake.nix
···
44
44
nix-index-database,
45
45
nixpkgs,
46
46
...
47
47
-
} @ inputs: {
47
47
+
} @ inputs: let
48
48
+
system = "x86_64-linux";
49
49
+
pkgs = nixpkgs.legacyPackages.${system};
50
50
+
in {
51
51
+
packages.${system} = {
52
52
+
iconifydl = pkgs.callPackage ./pkgs/iconifydl.nix {};
53
53
+
};
54
54
+
48
55
nixosConfigurations.wallsocket = nixpkgs.lib.nixosSystem {
49
56
system = "x86_64-linux";
50
57
specialArgs = {inherit inputs;};
+18
pkgs/iconifydl.nix
···
1
1
+
{
2
2
+
buildGoModule,
3
3
+
fetchFromGitHub,
4
4
+
}: let
5
5
+
version = "0.0.2";
6
6
+
in
7
7
+
buildGoModule {
8
8
+
pname = "iconifydl";
9
9
+
inherit version;
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "ksckaan1";
13
13
+
repo = "iconifydl";
14
14
+
rev = "v${version}";
15
15
+
hash = "sha256-mSeHKv/JGrasxng6J3u5WkSk/ll1oucC2ZSN+9CYg7E=";
16
16
+
};
17
17
+
vendorHash = "sha256-0ZuhzB9HAoA3ZGJY98otaMKI+VhFPbHXlco49gwmb9o=";
18
18
+
}