add a package

This commit is contained in:
Sridhar Ratnakumar 2026-02-28 07:12:44 -05:00
parent 77969a85f0
commit 3ac0541208
3 changed files with 187 additions and 31 deletions

View file

@ -1,4 +1,4 @@
{ flake, ... }:
{ flake, pkgs, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
@ -25,4 +25,8 @@ in
home.sessionPath = [
"/nix/var/nix/profiles/default/bin"
];
home.packages = [
inputs.disc-scrape.packages.${pkgs.stdenv.hostPlatform.system}.default
];
}

211
flake.lock generated
View file

@ -61,7 +61,7 @@
"nix-ai-tools",
"nixpkgs"
],
"systems": "systems_2"
"systems": "systems_3"
},
"locked": {
"lastModified": 1771437256,
@ -159,6 +159,21 @@
"type": "github"
}
},
"crane": {
"locked": {
"lastModified": 1771438068,
"narHash": "sha256-nGBbXvEZVe/egCPVPFcu89RFtd8Rf6J+4RFoVCFec0A=",
"owner": "ipetkov",
"repo": "crane",
"rev": "b5090e53e9d68c523a4bb9ad42b4737ee6747597",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"devour-flake": {
"flake": false,
"locked": {
@ -175,6 +190,28 @@
"type": "github"
}
},
"disc-scrape": {
"inputs": {
"flake-parts": "flake-parts",
"git-hooks": "git-hooks",
"nixpkgs": "nixpkgs",
"rust-flake": "rust-flake",
"systems": "systems_2"
},
"locked": {
"lastModified": 1772235986,
"narHash": "sha256-Kwx5duhBTRAAqY6UdYYGRSacT5o8//YlmwSJlzAg5d0=",
"owner": "srid",
"repo": "disc-scrape",
"rev": "382c7e59cba9408b3098d7f0b8d10da01721b265",
"type": "github"
},
"original": {
"owner": "srid",
"repo": "disc-scrape",
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
@ -218,14 +255,14 @@
"commonmark-wikilink": "commonmark-wikilink",
"ema": "ema",
"emanote-template": "emanote-template",
"flake-parts": "flake-parts",
"flake-parts": "flake-parts_2",
"fourmolu-nix": "fourmolu-nix",
"git-hooks": "git-hooks",
"git-hooks": "git-hooks_2",
"haskell-flake": "haskell-flake",
"heist-extra": "heist-extra",
"lvar": "lvar",
"nixos-unified": "nixos-unified",
"nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2",
"unionmount": "unionmount"
},
"locked": {
@ -259,6 +296,27 @@
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"disc-scrape",
"nixpkgs"
]
},
"locked": {
"lastModified": 1769996383,
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"emanote",
@ -279,7 +337,7 @@
"type": "github"
}
},
"flake-parts_2": {
"flake-parts_3": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
@ -297,7 +355,7 @@
"type": "github"
}
},
"flake-parts_3": {
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": [
"imako",
@ -318,7 +376,7 @@
"type": "github"
}
},
"flake-parts_4": {
"flake-parts_5": {
"inputs": {
"nixpkgs-lib": [
"nixvim",
@ -339,7 +397,7 @@
"type": "github"
}
},
"flake-parts_5": {
"flake-parts_6": {
"inputs": {
"nixpkgs-lib": [
"vira",
@ -362,7 +420,7 @@
},
"flake-utils": {
"inputs": {
"systems": "systems_3"
"systems": "systems_4"
},
"locked": {
"lastModified": 1681202837,
@ -424,6 +482,22 @@
}
},
"git-hooks": {
"flake": false,
"locked": {
"lastModified": 1772024342,
"narHash": "sha256-+eXlIc4/7dE6EcPs9a2DaSY3fTA9AE526hGqkNID3Wg=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "6e34e97ed9788b17796ee43ccdbaf871a5c2b476",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"git-hooks_2": {
"flake": false,
"locked": {
"lastModified": 1748731907,
@ -439,7 +513,7 @@
"type": "github"
}
},
"git-hooks_2": {
"git-hooks_3": {
"flake": false,
"locked": {
"lastModified": 1732021966,
@ -455,7 +529,7 @@
"type": "github"
}
},
"git-hooks_3": {
"git-hooks_4": {
"flake": false,
"locked": {
"lastModified": 1758108966,
@ -471,7 +545,7 @@
"type": "github"
}
},
"git-hooks_4": {
"git-hooks_5": {
"flake": false,
"locked": {
"lastModified": 1748731907,
@ -639,12 +713,12 @@
"aeson-typescript": "aeson-typescript",
"commonmark-simple": "commonmark-simple_2",
"commonmark-wikilink": "commonmark-wikilink_2",
"flake-parts": "flake-parts_3",
"flake-parts": "flake-parts_4",
"fourmolu-nix": "fourmolu-nix_2",
"git-hooks": "git-hooks_3",
"git-hooks": "git-hooks_4",
"haskell-flake": "haskell-flake_2",
"lvar": "lvar_2",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"process-compose-flake": "process-compose-flake",
"unionmount": "unionmount_2"
},
@ -879,7 +953,7 @@
"nixos-vscode-server": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1684517665,
@ -897,11 +971,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1752900028,
"narHash": "sha256-dPALCtmik9Wr14MGqVXm+OQcv7vhPBXcWNIOThGnB/Q=",
"lastModified": 1772082373,
"narHash": "sha256-wySf8a6hvuqgFdwvvzPPTARBCMLDz7WFAufGkllD1M4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6b4955211758ba47fac850c040a27f23b9b4008f",
"rev": "26eaeac4e409d7b5a6bf6f90a2a2dc223c78d915",
"type": "github"
},
"original": {
@ -924,6 +998,22 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1752900028,
"narHash": "sha256-dPALCtmik9Wr14MGqVXm+OQcv7vhPBXcWNIOThGnB/Q=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6b4955211758ba47fac850c040a27f23b9b4008f",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1770169770,
"narHash": "sha256-awR8qIwJxJJiOmcEGgP2KUqYmHG4v/z8XpL9z8FnT1A=",
@ -939,7 +1029,7 @@
"type": "github"
}
},
"nixpkgs_3": {
"nixpkgs_4": {
"locked": {
"lastModified": 1682526928,
"narHash": "sha256-2cKh4O6t1rQ8Ok+v16URynmb0rV7oZPEbXkU0owNLQs=",
@ -952,7 +1042,7 @@
"type": "indirect"
}
},
"nixpkgs_4": {
"nixpkgs_5": {
"locked": {
"lastModified": 1771419570,
"narHash": "sha256-bxAlQgre3pcQcaRUm/8A0v/X8d2nhfraWSFqVmMcBcU=",
@ -968,7 +1058,7 @@
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_6": {
"locked": {
"lastModified": 1765803225,
"narHash": "sha256-xwaZV/UgJ04+ixbZZfoDE8IsOWjtvQZICh9aamzPnrg=",
@ -986,11 +1076,11 @@
},
"nixvim": {
"inputs": {
"flake-parts": "flake-parts_4",
"flake-parts": "flake-parts_5",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_4"
"systems": "systems_5"
},
"locked": {
"lastModified": 1771135771,
@ -1056,10 +1146,11 @@
"inputs": {
"AI": "AI",
"agenix": "agenix",
"disc-scrape": "disc-scrape",
"disko": "disko",
"emanote": "emanote",
"flake-parts": "flake-parts_2",
"git-hooks": "git-hooks_2",
"flake-parts": "flake-parts_3",
"git-hooks": "git-hooks_3",
"github-nix-ci": "github-nix-ci",
"home-manager": "home-manager",
"imako": "imako",
@ -1071,11 +1162,56 @@
"nixos-hardware": "nixos-hardware",
"nixos-unified": "nixos-unified_2",
"nixos-vscode-server": "nixos-vscode-server",
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_5",
"nixvim": "nixvim",
"vira": "vira"
}
},
"rust-flake": {
"inputs": {
"crane": "crane",
"nixpkgs": [
"disc-scrape",
"nixpkgs"
],
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1772147705,
"narHash": "sha256-eGVfRh2DtQBTxD0kLpK2v6C9wmJpFYRRlmiPkxv6cCo=",
"owner": "juspay",
"repo": "rust-flake",
"rev": "c0b64ed4d7f916b11544c3d63d546a8bce6dff92",
"type": "github"
},
"original": {
"owner": "juspay",
"repo": "rust-flake",
"type": "github"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": [
"disc-scrape",
"rust-flake",
"nixpkgs"
]
},
"locked": {
"lastModified": 1771642886,
"narHash": "sha256-4zOvSi0WkS2WAaoJtM28wECtS9S+L38CPYbhF+wINDA=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "85078369717bdbe1f266c9eaad5e66956fb6feea",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"servant-event-stream": {
"flake": false,
"locked": {
@ -1152,6 +1288,21 @@
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tabler-icons-hs": {
"flake": false,
"locked": {
@ -1226,9 +1377,9 @@
"inputs": {
"co-log-effectful": "co-log-effectful",
"devour-flake": "devour-flake",
"flake-parts": "flake-parts_5",
"flake-parts": "flake-parts_6",
"fourmolu-nix": "fourmolu-nix_3",
"git-hooks": "git-hooks_4",
"git-hooks": "git-hooks_5",
"haskell-flake": "haskell-flake_3",
"hint-nix": "hint-nix",
"htmx": "htmx",
@ -1236,7 +1387,7 @@
"nix-serve-ng": "nix-serve-ng",
"nix-systems": "nix-systems",
"nixos-unified": "nixos-unified_3",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"process-compose-flake": "process-compose-flake_2",
"record-hasfield": "record-hasfield",
"servant-event-stream": "servant-event-stream",

View file

@ -45,6 +45,7 @@
# Emanote & Imako
emanote.url = "github:srid/emanote";
imako.url = "github:srid/imako";
disc-scrape.url = "github:srid/disc-scrape";
# Devshell
git-hooks.url = "github:cachix/git-hooks.nix";