Skip to content

Commit

Permalink
libsfdo: init at 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zi3m5f committed Oct 28, 2024
1 parent 03cf384 commit a4da81b
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions pkgs/by-name/li/libsfdo/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
pkg-config,
testers,
validatePkgConfig,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libsfdo";
version = "0.1.3";

src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "vyivel";
repo = "libsfdo";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-9jCfCIB07mmJ6aWQHvXaxYhEMNikUw/W1xrpmh6FKbo=";
};

strictDeps = true;
doCheck = true;

nativeBuildInputs = [
meson
ninja
pkg-config
validatePkgConfig
];

passthru.tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
versionCheck = true;
};

meta = {
description = "Collection of libraries which implement some of the freedesktop.org specifications";
homepage = "https://gitlab.freedesktop.org/vyivel/libsfdo";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.zi3m5f ];
pkgConfigModules = [
"libsfdo-basedir"
"libsfdo-desktop-file"
"libsfdo-desktop"
"libsfdo-icon"
];
platforms = lib.platforms.all;
};
})

0 comments on commit a4da81b

Please sign in to comment.