its for when you want to get like notifications for your reposts

build: add nix flake

ptr.pet ad439ec8 490e6083

verified
+1
.gitignore
···
bsky-repost-likes
+
result
+61
flake.lock
···
+
{
+
"nodes": {
+
"flake-parts": {
+
"inputs": {
+
"nixpkgs-lib": "nixpkgs-lib"
+
},
+
"locked": {
+
"lastModified": 1748821116,
+
"narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=",
+
"owner": "hercules-ci",
+
"repo": "flake-parts",
+
"rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1",
+
"type": "github"
+
},
+
"original": {
+
"owner": "hercules-ci",
+
"repo": "flake-parts",
+
"type": "github"
+
}
+
},
+
"nixpkgs": {
+
"locked": {
+
"lastModified": 1749143949,
+
"narHash": "sha256-QuUtALJpVrPnPeozlUG/y+oIMSLdptHxb3GK6cpSVhA=",
+
"owner": "NixOS",
+
"repo": "nixpkgs",
+
"rev": "d3d2d80a2191a73d1e86456a751b83aa13085d7d",
+
"type": "github"
+
},
+
"original": {
+
"owner": "NixOS",
+
"ref": "nixos-unstable",
+
"repo": "nixpkgs",
+
"type": "github"
+
}
+
},
+
"nixpkgs-lib": {
+
"locked": {
+
"lastModified": 1748740939,
+
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
+
"owner": "nix-community",
+
"repo": "nixpkgs.lib",
+
"rev": "656a64127e9d791a334452c6b6606d17539476e2",
+
"type": "github"
+
},
+
"original": {
+
"owner": "nix-community",
+
"repo": "nixpkgs.lib",
+
"type": "github"
+
}
+
},
+
"root": {
+
"inputs": {
+
"flake-parts": "flake-parts",
+
"nixpkgs": "nixpkgs"
+
}
+
}
+
},
+
"root": "root",
+
"version": 7
+
}
+14
flake.nix
···
+
{
+
inputs = {
+
flake-parts.url = "github:hercules-ci/flake-parts";
+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+
};
+
+
outputs = inputs@{ flake-parts, ... }:
+
flake-parts.lib.mkFlake { inherit inputs; } {
+
systems = [ "x86_64-linux" ];
+
perSystem = { pkgs, ... }: {
+
packages.default = pkgs.callPackage ./package.nix {};
+
};
+
};
+
}
+12
package.nix
···
+
{
+
buildGoModule,
+
...
+
}:
+
buildGoModule (final: {
+
pname = "bsky-repost-likes";
+
version = "main";
+
+
src = ./.;
+
+
vendorHash = "sha256-nqBgpykQDR1lXO27oWH/lG3NVH31G6WKHRQKUZbjVUI=";
+
})