2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, check, subunit }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "orcania";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.3.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "babelouest";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-Cz3IE5UrfoWjMxQ/+iR1bLsYxf5DVN+7aJqLBcPjduA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ check subunit ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DBUILD_ORCANIA_TESTING=on" ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Potluck with different functions for different purposes that can be shared among C programs";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "base64url";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/babelouest/orcania";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ johnazoidberg ];
|
|
|
|
};
|
|
|
|
}
|