nixpkgs/pkgs/development/libraries/libytnef/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
579 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
with lib;
stdenv.mkDerivation rec {
pname = "libytnef";
version = "1.9.3";
src = fetchFromGitHub {
owner = "Yeraze";
repo = "ytnef";
rev = "v${version}";
sha256 = "07h48s5qf08503pp9kafqbwipdqghiif22ghki7z8j67gyp04l6l";
};
nativeBuildInputs = [ autoreconfHook ];
meta = {
inherit (src.meta) homepage;
description = "Yeraze's TNEF Stream Reader - for winmail.dat files";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ fpletz ];
};
}