nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit aced22dcdcd0cc0f470f12ac119e9b2dc395a7ad
parent 7e3581c898f7839330c52d9fe1238e69099a97a9
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sat, 13 Mar 2021 13:42:33 +0300

Use fetchFromSourcehut

Diffstat:
Mpkgs/gemini/gemreader/default.nix | 9+++++----
Mpkgs/gemini/gmni/default.nix | 9+++++----
Mpkgs/gemini/gmnisrv/default.nix | 9+++++----
Mpkgs/gemini/kiln/default.nix | 7++++---
Mpkgs/gemini/kineto/default.nix | 9+++++----
Mpkgs/gemini/shavit/default.nix | 9+++++----
6 files changed, 29 insertions(+), 23 deletions(-)

diff --git a/pkgs/gemini/gemreader/default.nix b/pkgs/gemini/gemreader/default.nix @@ -1,11 +1,12 @@ -{ lib, buildGoModule, fetchgit, sources }: +{ lib, buildGoModule, fetchFromSourcehut }: -buildGoModule { +buildGoModule rec { pname = "gemreader"; version = "2021-03-08"; - src = fetchgit { - url = "https://git.sr.ht/~sircmpwn/gemreader"; + src = fetchFromSourcehut { + owner = "~sircmpwn"; + repo = pname; rev = "7f9df147d6785d5f2b77ce9d44513de65985657a"; sha256 = "0w6jky5qz6p7i67jm6ab9rrlym2xkfqiaxgxfr4g2wg628qb32nl"; }; diff --git a/pkgs/gemini/gmni/default.nix b/pkgs/gemini/gmni/default.nix @@ -1,11 +1,12 @@ -{ lib, stdenv, fetchgit, openssl, pkg-config, scdoc }: +{ lib, stdenv, fetchFromSourcehut, openssl, pkg-config, scdoc }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "gmni"; version = "2021-01-07"; - src = fetchgit { - url = "https://git.sr.ht/~sircmpwn/gmni"; + src = fetchFromSourcehut { + owner = "~sircmpwn"; + repo = pname; rev = "4fbc632b22172daa976d8e1c9a2db75d52ee3232"; sha256 = "1jasamkjy90b169hwl8p78ns92fs5vlpzr50pxcfsfgny8628sin"; }; diff --git a/pkgs/gemini/gmnisrv/default.nix b/pkgs/gemini/gmnisrv/default.nix @@ -1,11 +1,12 @@ -{ lib, stdenv, fetchgit, mailcap, openssl, pkg-config, scdoc }: +{ lib, stdenv, fetchFromSourcehut, mailcap, openssl, pkg-config, scdoc }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "gmnisrv"; version = "2020-12-27"; - src = fetchgit { - url = "https://git.sr.ht/~sircmpwn/gmnisrv"; + src = fetchFromSourcehut { + owner = "~sircmpwn"; + repo = pname; rev = "fbef1d34a1abd2614f85afee415fe0f417038efe"; sha256 = "0y42vj5vy8pk732dkbdywgixr9bxpg11hf4w2qsa1vwqw3xbvdka"; }; diff --git a/pkgs/gemini/kiln/default.nix b/pkgs/gemini/kiln/default.nix @@ -1,11 +1,12 @@ -{ lib, buildGoModule, fetchgit, sources }: +{ lib, buildGoModule, fetchFromSourcehut }: buildGoModule rec { pname = "kiln"; version = "0.1.0"; - src = fetchgit { - url = "https://git.sr.ht/~adnano/kiln"; + src = fetchFromSourcehut { + owner = "~adnano"; + repo = pname; rev = "v${version}"; sha256 = "0rj2h8l5b92kjfb3hhm77w6zwmvxwrrd3yjs1718q77xxf2l83m1"; }; diff --git a/pkgs/gemini/kineto/default.nix b/pkgs/gemini/kineto/default.nix @@ -1,11 +1,12 @@ -{ lib, buildGoModule, fetchgit }: +{ lib, buildGoModule, fetchFromSourcehut }: -buildGoModule { +buildGoModule rec { pname = "kineto"; version = "2021-01-15"; - src = fetchgit { - url = "https://git.sr.ht/~sircmpwn/kineto"; + src = fetchFromSourcehut { + owner = "~sircmpwn"; + repo = pname; rev = "8f35e0a2b17b70691b8634c2bd8c99f98557105c"; sha256 = "0vh28k3mnqv27nr3s6c4b4zcf5q1q2c1fs73np1cb0l4fpl6l7s2"; }; diff --git a/pkgs/gemini/shavit/default.nix b/pkgs/gemini/shavit/default.nix @@ -1,11 +1,12 @@ -{ lib, buildGoModule, fetchgit, sources }: +{ lib, buildGoModule, fetchFromSourcehut }: -buildGoModule { +buildGoModule rec { pname = "shavit"; version = "2020-03-14"; - src = fetchgit { - url = "https://git.sr.ht/~yotam/shavit"; + src = fetchFromSourcehut { + owner = "~yotam"; + repo = pname; rev = "129b3e7fc700d02843c4fbd3e7cc73bf714f9cc2"; sha256 = "02g1igsx441q20yv2ylc50mf598whl0lfnwrj9nzab1jk5q3nhic"; };