mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
27 lines
689 B
Nix
27 lines
689 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "readstat";
|
|
version = "1.1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "WizardMac";
|
|
repo = "ReadStat";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-4lRJgZPB2gfaQ9fQKvDDpGhy1eDNT/nT1QmeZlCmCis=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
buildInputs = [ libiconv ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|