mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-03 11:07:44 +03:00
Merge pull request #141784 from AndersonTorres/new-argtable3
argtable: 3.1.5 -> 3.2.1
This commit is contained in:
commit
b5a526c4b0
@ -1,22 +1,27 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "argtable";
|
||||
version = "3.1.5";
|
||||
srcVersion = "v${version}.1c1bb23";
|
||||
version = "3.2.1";
|
||||
srcVersion = "v${version}.52f24e5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "argtable";
|
||||
repo = "argtable3";
|
||||
rev = srcVersion;
|
||||
sha256 = "sha256-sL6mnxsuL1K0DY26jLF/2Czo0RxHYJ3xU3VyavISiMM=";
|
||||
hash = "sha256-HFsk91uJXQ0wpvAQxP4/yZwRQx9kLH7KgB3Y/+zcZC0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tools/build
|
||||
'';
|
||||
@ -37,4 +42,7 @@ stdenv.mkDerivation rec {
|
||||
platforms = with platforms; all;
|
||||
};
|
||||
}
|
||||
# TODO [ AndersonTorres ]: a NixOS test suite
|
||||
# TODO: a NixOS test suite
|
||||
# TODO: multiple outputs
|
||||
# TODO: documentation
|
||||
# TODO: build both shared and static libs
|
||||
|
Loading…
Reference in New Issue
Block a user