mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
28 lines
643 B
Nix
28 lines
643 B
Nix
{ stdenv, lib, fetchFromGitHub
|
|
, libyaml
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libcyaml";
|
|
version = "1.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tlsa";
|
|
repo = "libcyaml";
|
|
rev = "v${version}";
|
|
hash = "sha256-JIN/cvh9PRl4/K0Z3WZtSCA3casBxyaxNxjXZZdQRWQ=";
|
|
};
|
|
|
|
buildInputs = [ libyaml ];
|
|
|
|
makeFlags = [ "VARIANT=release" "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/tlsa/libcyaml";
|
|
description = "C library for reading and writing YAML";
|
|
changelog = "https://github.com/tlsa/libcyaml/raw/v${version}/CHANGES.md";
|
|
license = licenses.isc;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|