mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
- Switch from 'rev' to 'tag' attribute in fetchFromGitHub/fetchgit calls - Update 'sha256' to 'hash' for consistency - Convert to finalAttrs pattern where applicable - Replace 'with lib' with explicit lib prefixes - Use 'replace-fail' variants for substitutions - Update python3.pkgs to python3Packages pattern - Switch propagatedBuildInputs to dependencies for Python packages - Fix .pc file meta attribute interpolation Affected packages: autotrash, banana-vera, cano, cista, coost, cppi, criterion, diagrams-as-code, filterpath, fzf-make, gbsplay, gfold, git-pr, git-standup, hexedit, hueadm, ksh, liboqs, libowlevelzs, libsv, mini-calc, nph, physac, ps_mem, ragnarwm, rasm, raygui, sxcs, toolong, tuifimanager, unipicker, ustr, viu, xml-tooling-c, yyjson
29 lines
599 B
Nix
29 lines
599 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libsv";
|
|
version = "1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "uael";
|
|
repo = "sv";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-sc7WTRY8XTm5+J+zlS7tGa2f+2d7apj+XHyBafZXXeE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Public domain cross-platform semantic versioning in C99";
|
|
homepage = "https://github.com/uael/sv";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = [ lib.maintainers.sigmanificient ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|