diff options
author | Logan Glasson <logan@glasson.nz> | 2021-03-14 00:33:02 +1300 |
---|---|---|
committer | Logan Glasson <logan@glasson.nz> | 2021-03-14 00:34:30 +1300 |
commit | a0e35869a21edfd2a6595cbd6aa9f3fd09654c82 (patch) | |
tree | 7ba72808ac0cb72da0d58d7494c319ec1bb39a99 /pkgs/applications | |
parent | 9fc486d67fa71929aa9440aa9a6b87114103c72d (diff) |
aerc, asuka, scdoc, wev, wlsunset, wshowkeys: use fetchFromSourceHut
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/browsers/asuka/default.nix | 10 | ||||
-rw-r--r-- | pkgs/applications/networking/mailreaders/aerc/default.nix | 10 |
2 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/applications/networking/browsers/asuka/default.nix b/pkgs/applications/networking/browsers/asuka/default.nix index 98c8a8afae0c2..6702fdaf7a963 100644 --- a/pkgs/applications/networking/browsers/asuka/default.nix +++ b/pkgs/applications/networking/browsers/asuka/default.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, rustPlatform, fetchurl, pkg-config, ncurses, openssl, Security }: +{ lib, stdenv, rustPlatform, fetchFromSourcehut, pkg-config, ncurses, openssl, Security }: rustPlatform.buildRustPackage rec { pname = "asuka"; version = "0.8.1"; - src = fetchurl { - url = "https://git.sr.ht/~julienxx/${pname}/archive/${version}.tar.gz"; - sha256 = "07i80qmdpwfdgwrk1gzs10wln91v23qjrsk0x134xf5mjnakxc06"; + src = fetchFromSourcehut { + owner = "~julienxx"; + repo = pname; + rev = version; + sha256 = "1y8v4qc5dng3v9k0bky1xlf3qi9pk2vdsi29lff4ha5310467f0k"; }; cargoSha256 = "0p0x4ch04kydg76bfal5zqzr9hvn5268wf3k2v9h7g8r4y8xqlhw"; diff --git a/pkgs/applications/networking/mailreaders/aerc/default.nix b/pkgs/applications/networking/mailreaders/aerc/default.nix index 3124239b0d9a5..09ce39027b5ad 100644 --- a/pkgs/applications/networking/mailreaders/aerc/default.nix +++ b/pkgs/applications/networking/mailreaders/aerc/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchurl +{ lib, buildGoModule, fetchFromSourcehut , ncurses, notmuch, scdoc , python3, w3m, dante }: @@ -7,9 +7,11 @@ buildGoModule rec { pname = "aerc"; version = "0.5.2"; - src = fetchurl { - url = "https://git.sr.ht/~sircmpwn/aerc/archive/${version}.tar.gz"; - sha256 = "h7kiRA5TuZ8mDSMymWU33stFLIOMd06TQLYzKW+faO4="; + src = fetchFromSourcehut { + owner = "~sircmpwn"; + repo = pname; + rev = version; + sha256 = "1ja639qry8h2d6y7qshf62ypkzs2rzady59p81scqh8nx0g9bils"; }; runVend = true; |