diff options
author | polykernel <81340136+polykernel@users.noreply.github.com> | 2021-08-08 11:23:16 -0400 |
---|---|---|
committer | polykernel <81340136+polykernel@users.noreply.github.com> | 2021-08-08 12:26:07 -0400 |
commit | ccd598cfd654794e5d66c0175786e5f9d7eb9f68 (patch) | |
tree | 1f418b5d01d768d81dc98b43922aa4b212d6f7f5 | |
parent | c10ded1bb288be2580f2aedf12de95ca34ac0048 (diff) |
tllist: refactor derivation
* Change from fetchgit to fetchFromGitea. * Set `mesonBuildType` to release. * Add upstream changelog.
-rw-r--r-- | pkgs/development/libraries/tllist/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/libraries/tllist/default.nix b/pkgs/development/libraries/tllist/default.nix index c849739199903..ed957f95776c8 100644 --- a/pkgs/development/libraries/tllist/default.nix +++ b/pkgs/development/libraries/tllist/default.nix @@ -1,6 +1,6 @@ { stdenv , lib -, fetchgit +, fetchFromGitea , meson , ninja }: @@ -9,18 +9,23 @@ stdenv.mkDerivation rec { pname = "tllist"; version = "1.0.5"; - src = fetchgit { - url = "https://codeberg.org/dnkl/tllist.git"; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "dnkl"; + repo = "tllist"; rev = version; sha256 = "wJEW7haQBtCR2rffKOFyqH3aq0eBr6H8T6gnBs2bNRg="; }; nativeBuildInputs = [ meson ninja ]; + mesonBuildType = "release"; + doCheck = true; meta = with lib; { homepage = "https://codeberg.org/dnkl/tllist"; + changelog = "https://codeberg.org/dnkl/tllist/releases/tag/${version}"; description = "C header file only implementation of a typed linked list"; longDescription = '' Most C implementations of linked list are untyped. That is, their data |