git.iko.soy/typeable/nixpkgs
on master help sign in
tllist: refactor derivation

* Change from fetchgit to fetchFromGitea. * Set `mesonBuildType` to release. * Add upstream changelog.

commitccd598cfd654794e5d66c0175786e5f9d7eb9f68 authorpolykernel <81340136+polykernel@users.noreply.github.com> dateSun 8 Aug 2021, 11:23 (5 years ago) parentc10ded1
1 file changed+8−3
pkgs/development/libraries/tllist/default.nix+8−3
pkgs/development/libraries/tllist/default.nix+8−3
@@ -1,6 +1,6 @@
11{ stdenv
22, lib
3−, fetchgit
3+, fetchFromGitea
44, meson
55, ninja
66}:
@@ -9,18 +9,23 @@ stdenv.mkDerivation rec {
99 pname = "tllist";
1010 version = "1.0.5";
1111
12− src = fetchgit {
13− url = "https://codeberg.org/dnkl/tllist.git";
12+ src = fetchFromGitea {
13+ domain = "codeberg.org";
14+ owner = "dnkl";
15+ repo = "tllist";
1416 rev = version;
1517 sha256 = "wJEW7haQBtCR2rffKOFyqH3aq0eBr6H8T6gnBs2bNRg=";
1618 };
1719
1820 nativeBuildInputs = [ meson ninja ];
1921
22+ mesonBuildType = "release";
23+
2024 doCheck = true;
2125
2226 meta = with lib; {
2327 homepage = "https://codeberg.org/dnkl/tllist";
28+ changelog = "https://codeberg.org/dnkl/tllist/releases/tag/${version}";
2429 description = "C header file only implementation of a typed linked list";
2530 longDescription = ''
2631 Most C implementations of linked list are untyped. That is, their data