mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
07be63132c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/theft/versions
30 lines
762 B
Nix
30 lines
762 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.4.4";
|
|
name = "theft-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "silentbicycle";
|
|
repo = "theft";
|
|
rev = "v${version}";
|
|
sha256 = "1csdhnb10k7vsyd44vjpg430nf6a909wj8af2zawdkbvnxn5wxc4";
|
|
};
|
|
|
|
preConfigure = "patchShebangs ./scripts/mk_bits_lut";
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
postInstall = "install -m644 vendor/greatest.h $out/include/";
|
|
|
|
meta = {
|
|
description = "A C library for property-based testing";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
homepage = "https://github.com/silentbicycle/theft/";
|
|
license = stdenv.lib.licenses.isc;
|
|
maintainers = [ stdenv.lib.maintainers.kquick ];
|
|
};
|
|
}
|