nixpkgs-suyu/pkgs/development/libraries/mimetic/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

21 lines
558 B
Nix

{ stdenv, fetchurl, cutee }:
stdenv.mkDerivation rec {
pname = "mimetic";
version = "0.9.8";
src = fetchurl {
url = "http://www.codesink.org/download/${pname}-${version}.tar.gz";
sha256 = "003715lvj4nx23arn1s9ss6hgc2yblkwfy5h94li6pjz2a6xc1rs";
};
buildInputs = [ cutee ];
meta = with stdenv.lib; {
description = "MIME handling library";
homepage = http://www.codesink.org/mimetic_mime_library.html;
license = licenses.mit;
maintainers = with maintainers; [ leenaars];
platforms = platforms.linux;
};
}