mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
0c61668468
Top-level libiconv is defined per-platform. The actual libiconv library won't be built on platforms like Linux where it doesn't need to be, so there's no need to maintain a separate platform list here. Required to build for FreeBSD.
25 lines
655 B
Nix
25 lines
655 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "readstat";
|
|
version = "1.1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "WizardMac";
|
|
repo = "ReadStat";
|
|
rev = "v${version}";
|
|
sha256 = "1r04lq45h1yn34v1mgfiqjfzyaqv4axqlby0nkandamcsqyhc7y4";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
buildInputs = [ libiconv ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/WizardMac/ReadStat";
|
|
description = "Command-line tool (+ C library) for converting SAS, Stata, and SPSS files";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ swflint ];
|
|
};
|
|
}
|