diff --git a/flake.lock b/flake.lock deleted file mode 100644 index c36c036491b0a8e778e5c7164f65d32c93d4cb53..0000000000000000000000000000000000000000 --- a/flake.lock +++ /dev/null @@ -1,27 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1726937504, - "narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "9357f4f23713673f310988025d9dc261c20e70c6", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index f587380bb7a756bcd78a46667016d3b815d4d323..0000000000000000000000000000000000000000 --- a/flake.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - description = "spectre"; - inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - outputs = - { self, nixpkgs, ... }: - let - systems = [ - "aarch64-darwin" - "aarch64-linux" - "x86_64-darwin" - "x86_64-linux" - ]; - inherit (nixpkgs) lib; - forEachSystem = - f: - (lib.listToAttrs ( - map (system: { - name = system; - value = f { - inherit system; - pkgs = import nixpkgs { inherit system; }; - }; - }) systems - )); - in - { - packages = forEachSystem ( - { pkgs, system }: - { - default = self.packages.${system}.spectre; - spectre = pkgs.buildGoModule rec { - pname = "spectre"; - version = self.rev or "dev"; - src = pkgs.nix-gitignore.gitignoreSource [ ] ( - builtins.path { - name = pname; - path = ./.; - } - ); - subPackages = [ "cmd/spectre" ]; - vendorHash = nixpkgs.lib.fileContents ./go.mod.sri; - meta = { - description = "Spectre CLI"; - homepage = "https://git.jolheiser.com/go-spectre"; - mainProgram = "spectre"; - }; - }; - } - ); - }; -} diff --git a/go.mod.sri b/go.mod.sri deleted file mode 100644 index 3c89767b5c2549ebaaca61c034575aab189e7cc9..0000000000000000000000000000000000000000 --- a/go.mod.sri +++ /dev/null @@ -1 +0,0 @@ -sha256-rZnaY4ma50ry5i9sVyuosgVXWke0+JsuBYUgHv2qglM= \ No newline at end of file