Who wrote the fairy tale which is libretto based on 
Hans Christian Andersen
The Nightingale (opera)
The Nightingale (Russian: Соловей - "Solovyei"; French: "Le rossignol") is a Russian "conte lyrique" in three acts by Igor Stravinsky.
 The libretto, based on the tale of "The Nightingale" by Hans Christian Andersen, was written by the composer and Stepan Mitussov.
 It was first performed on 26 May 1914 by the Ballets Russes at the Palais Garnier in Paris.
The Nightingale (fairy tale)
"The Nightingale" (Danish: "Nattergalen") is a literary fairy tale written by Danish author Hans Christian Andersen about an emperor who prefers the tinkling of a bejeweled mechanical bird to the song of a real nightingale.
 When the Emperor is near death, the nightingale's song restores his health.
 Well received upon its publication in Copenhagen in 1843 in "New Fairy Tales", the tale is believed to have been inspired by the author's unrequited love for opera singer Jenny Lind, the "Swedish nightingale".
 The story has been adapted to opera, ballet, musical play, television drama and animated film.
The Buried Moon
The Buried Moon or The Dead Moon is a fairy tale included by Joseph Jacobs in "More English Fairy Tales".
 It is a striking unusual tale, with few variants, and often appearing more mythological than is common for fairy tales.
 It was collected by Mrs. Balfour from the North Lincolnshire Carrs in the Ancholme Valley; its unusual characteristics made many people doubt its origins as a fairy tale.
 However, when Mrs. Balfour published her notes, they were generally found reliable, and the Fens proved to have many other unusual legends.
 The story may be evidence of moon worship. Das Märchen von der schönen Lilie
Das Märchen von der schönen Lilie, Op. 55, ("The Fairy Tale of the Beautiful Lily") is an opera in two acts by Giselher Klebe; his wife, Lore Klebe, wrote the libretto based on the fairy tale, "Das Märchen", part of the novella "Unterhaltungen deutscher Ausgewanderten" by Johann Wolfgang von Goethe. Schneewittchen (opera)
Schneewittchen (Snow White) is an opera by Heinz Holliger.
 He wrote the libretto based on a poetic text by Robert Walser in iambic trimeter.
 The opera received its première on 17 October 1998 at the Zurich Opera House which had commissioned the work.
 The work is a psychoanalytical reworking of the fairy tale, analysing the complex relationships between the roles.
 It is not a . The Tale of the Fisherman and the Fish
The Tale of the Fisherman and the Fish (Russian: Сказка о рыбаке и рыбке , "Skazka o rybake i rybke") is a fairy tale in verse by Alexander Pushkin.
 Pushkin wrote the tale in autumn 1833 and it was first published in the literary magazine "Biblioteka dlya chteniya" in May 1835.
 The tale is about a fisherman who manages to catch a "Golden Fish" which promises to fulfill any wish of his in exchange for its freedom.
 The storyline is similar to the Russian fairy tale "The Greedy Old Wife" (according to Vladimir Propp) and the Brothers Grimm's tale "The Fisherman and His Wife". New Fairy Tales (1844)
New Fairy Tales (Danish: "Nye Eventyr" ) is a collection of four fairy tales written by Hans Christian Andersen and published by C. A. Reitzel in Copenhagen, Denmark on 10 November 1843.
 As was customary at the time however, the title page is dated 1844.
 The tales are completely Andersen's invention, owe no debt to folk or fairy lore, and are the most autobiographical of his several fairy tale collections.
 The collection was received enthusiastically by the Danish critics and public and became Andersen's break-through in the fairy tale genre.
 "The Nightingale" and "The Ugly Duckling" have been adapted to various forms of drama. The Fisherman and His Wife
"The Fisherman and His Wife" is a German fairy tale collected by the Brothers Grimm, tale no. 19.
 It is Aarne–Thompson type 555, the fisherman and his wife.
 Its theme was used in "The Tale of the Fisherman and the Fish", an 1833 poem by Aleksandr Pushkin.
 Virginia Woolf has her character Mrs. Ramsey in "To the Lighthouse" read a version of the story to her son, James.
 Günter Grass's 1977 novel, "The Flounder," is loosely based on the fairy tale, as are Emanuele Luzzati's version, "Punch and the Magic Fish," and Ursula LeGuin's novel "The Lathe of Heaven". Kashchey the Deathless
Kashchey the Deathless (Russian: Кащей бессмертный , "Kashchey bessmertnïy"), Kashchey the Immortal, is a one-act opera in three scenes (styled a "little autumnal fairy tale") by Nikolai Rimsky-Korsakov.
 The libretto was written by the composer, and is based on a Russian fairy tale about Koschei the Deathless, an evil, ugly old wizard, who menaced principally young women.
 A similar fairy tale was also used by Igor Stravinsky (Rimsky-Korsakov's pupil) and Michel Fokine to create their iconic ballet, "The Firebird". Cendrillon
Cendrillon ("Cinderella") is an opera—described as a "fairy tale"—in four acts by Jules Massenet to a French libretto by Henri Caïn based on Perrault's 1698 version of the Cinderella fairy tale.