aboutsummaryrefslogtreecommitdiff
path: root/pkgs/ahoviewer.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-16 01:50:23 -0700
committerFuwn <[email protected]>2024-10-16 01:50:23 -0700
commitaa0192a1b881576e16fce4cf39d3c84eb7be3fc9 (patch)
tree1781f931e6caffd12628a19d7e578c7c1a420856 /pkgs/ahoviewer.nix
parentfix(flake): correct ahoviewer package location (diff)
downloadtsutsumi-aa0192a1b881576e16fce4cf39d3c84eb7be3fc9.tar.xz
tsutsumi-aa0192a1b881576e16fce4cf39d3c84eb7be3fc9.zip
refactor(ahoviewer): move source to yae
Diffstat (limited to 'pkgs/ahoviewer.nix')
-rw-r--r--pkgs/ahoviewer.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/ahoviewer.nix b/pkgs/ahoviewer.nix
index 65c6079..cde1c78 100644
--- a/pkgs/ahoviewer.nix
+++ b/pkgs/ahoviewer.nix
@@ -1,13 +1,11 @@
-{ pkgs }:
-pkgs.stdenv.mkDerivation rec {
+{ pkgs, source }:
+pkgs.stdenv.mkDerivation {
+ inherit (source) version;
+
pname = "ahoviewer";
- version = "42e16f94b78496e3e346f0d127baa569039a6757";
- src = pkgs.fetchFromGitHub {
- owner = "ahodesuka";
- repo = pname;
- rev = "42e16f94b78496e3e346f0d127baa569039a6757";
- sha256 = "sha256-HcijKiExwyBoWDvMlJ5AMA0U7BtS9EfcA54nfQ/iGvE=";
+ src = pkgs.fetchzip {
+ inherit (source) url sha256;
};
buildInputs = with pkgs; [