nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 773 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 gtest, 7 tinycmmc, 8}: 9 10stdenv.mkDerivation { 11 pname = "argpp"; 12 version = "0-unstable-2022-08-14"; 13 14 src = fetchFromGitHub { 15 owner = "Grumbel"; 16 repo = "argpp"; 17 rev = "9e1d54f8ed20af0aa5857e6653ab605b2ab63d5c"; 18 sha256 = "sha256-unfAFxgvv1BOUEqrYYMFfouGe2xIcKJ3ithCel1P9sc="; 19 }; 20 21 nativeBuildInputs = [ cmake ]; 22 buildInputs = [ 23 gtest 24 tinycmmc 25 ]; 26 27 postPatch = '' 28 substituteInPlace CMakeLists.txt \ 29 --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)" 30 ''; 31 32 meta = { 33 description = "Argument Parser for C++"; 34 maintainers = [ lib.maintainers.SchweGELBin ]; 35 platforms = lib.platforms.linux; 36 license = lib.licenses.free; 37 }; 38}