Merge pull request #133158 from polykernel/tllist-patch-1
tllist: refactor derivation
This commit is contained in:
commit
0643c57fe5
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchgit
|
, fetchFromGitea
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
}:
|
}:
|
||||||
|
@ -9,18 +9,23 @@ stdenv.mkDerivation rec {
|
||||||
pname = "tllist";
|
pname = "tllist";
|
||||||
version = "1.0.5";
|
version = "1.0.5";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitea {
|
||||||
url = "https://codeberg.org/dnkl/tllist.git";
|
domain = "codeberg.org";
|
||||||
|
owner = "dnkl";
|
||||||
|
repo = "tllist";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "wJEW7haQBtCR2rffKOFyqH3aq0eBr6H8T6gnBs2bNRg=";
|
sha256 = "wJEW7haQBtCR2rffKOFyqH3aq0eBr6H8T6gnBs2bNRg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja ];
|
nativeBuildInputs = [ meson ninja ];
|
||||||
|
|
||||||
|
mesonBuildType = "release";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://codeberg.org/dnkl/tllist";
|
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";
|
description = "C header file only implementation of a typed linked list";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Most C implementations of linked list are untyped. That is, their data
|
Most C implementations of linked list are untyped. That is, their data
|
||||||
|
|
Loading…
Reference in a new issue