nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at r-updates 43 lines 981 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 ninja, 7 macro-utils-c, 8}: 9stdenv.mkDerivation { 10 pname = "azure-umock-c"; 11 # Same version as in VCPKG as of February 2025. 12 # https://github.com/microsoft/vcpkg/blob/master/ports/umock-c/portfile.cmake 13 version = "1.1.0-unstable-2022-01-21"; 14 15 src = fetchFromGitHub { 16 owner = "Azure"; 17 repo = "umock-c"; 18 rev = "504193e65d1c2f6eb50c15357167600a296df7ff"; 19 hash = "sha256-oeqsy63G98c4HWT6NtsYzC6/YxgdROvUe9RAdmElbCM="; 20 }; 21 22 strictDeps = true; 23 24 nativeBuildInputs = [ 25 cmake 26 ninja 27 ]; 28 buildInputs = [ macro-utils-c ]; 29 30 cmakeFlags = [ 31 "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" 32 "-Duse_installed_dependencies=ON" 33 ]; 34 35 meta = { 36 homepage = "https://github.com/Azure/umock-c"; 37 description = "Pure C mocking library"; 38 sourceProvenance = [ lib.sourceTypes.fromSource ]; 39 license = lib.licenses.mit; 40 maintainers = [ lib.maintainers.tobim ]; 41 platforms = lib.platforms.all; 42 }; 43}